|
From: | martin.koegler at chello dot at |
Subject: | [Bug ld/19803] gc-sections breaks PE DLL variable export |
Date: | Sat, 12 Mar 2016 20:55:45 +0000 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |