http://sourceware.org/bugzilla/show_bug.cgi?id=12945
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID --- Comment #4 from Ian Lance Taylor <ian at airs dot com> 2011-06-29 14:58:57 UTC --- Thanks for the test case. The elflint program is getting confused when it tries to find the .dynamic section. The PT_DYNAMIC segment is at address 0x32000. It happens that the .tbss section is at sddress 0x32000. Since the .tbss section is SHT_NOBITS, it does not take up any address space. The .dynamic section then follows it, also at address 0x32000. In the readelf -S output: [18] .tbss NOBITS 0000000000032000 00032000 0000000000000008 0000000000000000 WAT 0 0 4 [19] .dynamic DYNAMIC 0000000000032000 00032000 0000000000000240 0000000000000010 WA 3 0 8 This is confusing elflint. It is using gelf_offscn to return the section at offset 0x32000. That winds up being the .tbss section, not the .dynamic section. Based on that it decides that there are no DT_NEEDED entries, and issues the .gnu.version_r warnings. I don't see any gold problem here. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils