This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 07 Apr 2000 21:43:21 -0700
- Cc: Chip Salzenberg <chip at valinux dot com>, 62008 at bugs dot debian dot org, submit at bugs dot debian dot org, binutils at sourceware dot cygnus dot com
- References: <20000407181927.H451@perlsupport.com> <20000407211236.A830@valinux.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"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 `------------------------