This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: About hidden & local symbols
- From: P J P <prasad at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 29 Apr 2009 10:39:19 +0530
- Subject: Re: About hidden & local symbols
Hello Ulrich, thanks a lot for the reply.
On Tue, 28 Apr 2009, Ulrich Drepper wrote:
> But hidden symbols shouldn't be in the dynamic symbol table and only symbols
> in the dynamic symbol table have version symbol information associated.
Right! Sorry, I didn't see the hidden symbols were under .symtab,
really sorry!
>> - `Version symbol' entries are greater than 1 if and only if the
>> concerned library(or DSO) uses symbol versioning.
>
> Yes. But there is no version definition section at all if symbol versioning
> is not used.
Yes true.
> A symbol that is referenced and uses a PLT slot will use the well-defined
> symbol lookup path. That's the whole point of ELF symbol lookup. Read
>
> http://people.redhat.com/drepper/dsohowto.pdf
> section 1.5.4.
Sure, I'll do that.
Thanks so much.
--
Regards
- Prasad