This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gold/arm: define $a/$d markers in .plt


David Miller <davem@davemloft.net> writes:

> GOLD downgrades a protected symbol from STB_GLOBAL to STB_LOCAL in the
> final link, which I've not seen the BFD linker do.

It does?  That doesn't sound right.  It would make protected symbols
useless in shared libraries.  I don't see it happening in, e.g.,
protected_1.so in the testsuite.  Where do you see that?

Symbols with hidden and internal visibility are forced to STB_LOCAL in a
final link, but not protected symbols.  Gold does that because that is
what the ELF ABI specifies should happen.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]