[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19803] gc-sections breaks PE DLL variable export
From: |
martin.koegler at chello dot at |
Subject: |
[Bug ld/19803] gc-sections breaks PE DLL variable export |
Date: |
Thu, 17 Mar 2016 21:47:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #9 from martin.koegler at chello dot at ---
I have reworked the first version a little bit.
The DEF-handling looks OK. SEH prevents the removal of a function,
Get dx.s from Comment #2.
t1.s:
=============
.file "t1.c"
.section .text.unlikely,"x"
.LCOLDB0:
.text
.LHOTB0:
.p2align 4,,15
.globl add
.def add; .scl 2; .type 32; .endef
.seh_proc add
add:
.seh_endprologue
ret
.seh_endproc
.section .text.unlikely,"x"
.LCOLDE0:
.text
.LHOTE0:
.ident "GCC: (GNU) 5.3.0"
===============
dx.def:
=============
EXPORTS
testval @1 DATA
=============
x86_64-w64-mingw32-as -o t1.o t1.s
x86_64-w64-mingw32-as -o dx.o dx.s
x86_64-w64-mingw32-ld -o dx.dll -shared dx.o t1.o --print-gc-sections
--out-implib dx.dll.a --gc-sections dx.def
t1 is not removed, until the .seh statements are removed from t1.s.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19803] New: gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/10
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/10
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/12
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/15
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/15
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/16
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/16
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/17
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/17
- [Bug ld/19803] gc-sections breaks PE DLL variable export,
martin.koegler at chello dot at <=
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/17
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/18
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/18
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/18
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/21
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/22
- [Bug ld/19803] gc-sections breaks PE DLL variable export, cvs-commit at gcc dot gnu.org, 2016/03/22
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/22
- [Bug ld/19803] gc-sections breaks PE DLL variable export, martin.koegler at chello dot at, 2016/03/23
- [Bug ld/19803] gc-sections breaks PE DLL variable export, nickc at redhat dot com, 2016/03/24