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)
According to Ulrich Drepper:
> 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.
I'd appreciate a peek. Possible?
> > 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.
... if those symbols are no longer marked local by the linker, right?
--
Chip Salzenberg - a.k.a. - <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K