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)
On Sun, Apr 09, 2000 at 04:01:35PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
>
> > >From what I read in the gABI draft, STV_PROTECTED works like -Bsymbolic
> > on one symbol
>
> Yes. Since you associate STV_PROTECTED with a defined symbol always
> the local symbol is found.
Well, It is not clear that STV_PROTECTED should remove the PLT entry.
-Bsymbolic in the GNU ld removes the PLT entry.
>
> > and STV_HIDDEN works like -Bsymbolic plus local symbol
> > in symbol versioning script.
>
> In principal, yes.
>
> > For STV_HIDDEN, maybe local symbol is enough.
>
> No. STV_HIDDEN does not remove the PLT entry.
You are right. The current static linker is ok. The dynamic linker has
to be updated.
H.J.