Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)
Martin von Loewis
loewis@informatik.hu-berlin.de
Sun Apr 9 15:17:00 GMT 2000
> I don't understand this. In what way are STV_HIDDEN symbols different
> from symbols made local by versioning that makes them need to be
> handled differently?
That's a good point. Where exactly is that feature implemented in
binutils? It seems that it is not generally available in a
platform-independent manner, is it? For example, on PPC, I see a
comment
/* FIXME: We should here do what the m68k and i386
backends do: if the reloc is pc-relative, record it
in case it turns out that the reloc is unnecessary
because the symbol is forced local by versioning or
we are linking with -Bdynamic. Fortunately this
case is not frequent. */
Does that mean that the name-hiding by versioning does not work for
PPC, or that it is achieved by different means? If so, how?
Regards,
Martin
More information about the Binutils
mailing list