Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)
Ulrich Drepper
drepper@redhat.com
Fri Apr 7 21:46:00 GMT 2000
"H . J . Lu" <hjl@valinux.com> writes:
> > /* XXX: The ABI draft says the linker must turn hidden and
> > internal symbols into STB_LOCAL symbols when producing the
> > DSO. However, if ld.so honors st_other in the dynamic table,
> > this would not be necessary. */
No!!! This is wrong! .hidden and .protected must jump through the
PLT. This is part of the whole plan. If it does not work with the
current ld.so.: too bad. This is brand new functionality. Wait for
glibc 2.2 or appropriately changed loaders on other architectures.
If this already happens somewhere else in bfd, reverse it.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Binutils
mailing list