This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld violating ELF specification for hidden symbols?
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.
--
H.J.