This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jakub Jelinek <jakub@redhat.com> wrote on 08/31/2006 10:38:00 AM: > Hi! > > On ppc64 and ia64 &printf is put into GOT, so the SHN_UNDEF printf > symbol has zero st_value and thus dladdr (&printf, ...) returns > a symbol in libc.so. But, unfortunately, in libc.so _IO_printf > is an alias to printf, both are global symbols and have the same > address and size. Which one comes first in the hash table depends > on the linker. > Thanks I have been scratching my head over that one :) Steven J. Munroe
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |