This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined weak symbol bug


I am not convinced there is any dynamic linker bug here.  There are
definitely ld bugs.  I don't see what would still be wrong if those were
fixed, however.  Because of the hidden visiblity, both symbols ought to
have been resolved to zero at link time.  

The "main_hidden" case shows an ld bug in producing a local .bss value in
the executable as if for a copy reloc.  The R_386_NONE reloc generated is
probably the remnant of the R_386_COPY it thought it was going to produce.

The "shared_hidden" case shows an ld bug in producing a .dynsym entry at all
rather than resolving it to zero at link time.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]