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: .hidden overrides .symver?


On 11/21/2016 05:01 AM, Alan Modra wrote:

So yes, a mere reference with hidden visibility must result in the
final linked symbol being hidden (or internal if other refs/defs are
internal), and hidden symbols must be converted to local or removed.

Thanks for confirming that this is expected behavior. I think we should clarify this in the GCC documentation (and we have to clean up a few bits in the glibc documentation).

Would it be possible to add an ld warning if a hidden reference makes a previously public symbol non-exported?

Thanks,
Florian


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