[gold commit] Fix handling of __ehdr_start
Cary Coutant
ccoutant@google.com
Thu May 29 19:02:00 GMT 2014
>> Hmm, yes. I'm seeing this instead:
>> 52: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND __ehdr_start
>>
>> > What platform are you testing on?
>>
>> powerpc64-linux. I'll see if I can track down the problem when I find
>> some time.
>
> Also happens on x86_64-linux. I'm surprised you haven't seen it.
> __ehdr_start is STV_HIDDEN, Symbol_table::override_with_special makes
> it forced_local, thus output from Symbol_table::sized_write_symbol
> is STB_LOCAL.
On x86_64 for me:
$ readelf -sW ehdr_start_test_4.o | grep __ehdr_start
46: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __ehdr_start
$ readelf -sW ehdr_start_test_4 | grep __ehdr_start
86: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __ehdr_start
You don't have some compiler wrapper that's setting -fvisibility=hidden, do you?
-cary
More information about the Binutils
mailing list