http://sourceware.org/bugzilla/show_bug.cgi?id=14037
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #1 from Alan Modra <amodra at gmail dot com> 2012-05-01 07:29:40 UTC --- On the face of it this appears to be a strip/objcopy bug. "global" is defined in .bss, section number 22 with my version of x86-64 gcc. .eh_frame_hdr and .eh_frame are sections 13 and 14. When they are removed, the dynamic symbol table is not updated. "global" stays defined in section 22, which is now .shstrtab, an entirely different type of section. This confuses the linker. However, the documentation for objcopy -R and strip -R says "Note that using this option inappropriately may make the output file unusable". Which is exactly what you've done. If you want to strip sections, do so at link time using a linker script with /DISCARD/. -- 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