https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #2 from martin.koegler at chello dot at --- The bug is caused by deleting sections and still exporting their symbols with bogus values: dx.s: ============= .text .globl DllMainCRTStartup DllMainCRTStartup: movl $1, %eax ret .globl testval .section .rdata,"dr" testval: .long 1 .long 2 ================ x86_64-w64-mingw32-as -o dx.o dx.s x86_64-w64-mingw32-ld -o dx.dll -shared dx.o --print-gc-sections --out-implib dx.dll.a --gc-sections -- 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