Bug#62008: ld leaves hidden/internal symbols in the symbol table (Patch Included)

Ulrich Drepper drepper@redhat.com
Sat Apr 8 20:50:00 GMT 2000


Chip Salzenberg <chip@valinux.com> writes:

> If you could help me with info, please: What is this "ABI draft"
> mentioned in the comment, where is it, and who's working on it?

It's the new revised ELF specification which we developed over the
last year and a half.  It's not yet publically available.

> Well, then, does libstdc++-v3 needs to check something more than gas
> support before it uses '.hidden'?

You can put .hidden in it's just that the ld.so's before glibc 2.2
won't recognize it.  Therefore a check for gas is sufficient.  But the
behaviour you will see might not be what you expect.  Therefore you
should look for other means to make a smbol unavailable.  E.g., by
using a symbol map.

-- 
---------------.      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