ld violating ELF specification for hidden symbols?

Jan Beulich JBeulich@novell.com
Fri Jan 7 16:24:00 GMT 2011


>>> On 07.01.11 at 16:38, "H.J. Lu" <hjl.tools@gmail.com> wrote:
> On Fri, Jan 7, 2011 at 6:35 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Fri, Jan 7, 2011 at 6:21 AM, Jan Beulich <JBeulich@novell.com> wrote:
>>> The version of the spec I have says "A hidden symbol contained in
>>> a relocatable object must be either removed or converted to
>>> STB_LOCAL binding by the link-editor when the relocatable object is
>>> included in an executable file or shared object." Nevertheless I see
>>> global hidden symbols in executables. Did the spec get changed
>>> (and if so, when/where), or is this a bug?
>>>
>>
>> Please file a bug.
>>
> 
> I checked the linker source. We have followed gABI since 2005.
> If you have a testcase, please file a bug.
> 

http://sourceware.org/bugzilla/show_bug.cgi?id=12374



More information about the Binutils mailing list