This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38904] Shared libgcc DLL violates Cygwin platform conventions.
- From: "davek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2009 18:52:10 -0000
- Subject: [Bug target/38904] Shared libgcc DLL violates Cygwin platform conventions.
- References: <bug-38904-9431@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from davek at gcc dot gnu dot org 2009-01-31 18:52 -------
Subject: Bug 38904
Author: davek
Date: Sat Jan 31 18:52:00 2009
New Revision: 143829
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143829
Log:
PR target/38904
* mkmap-flat.awk (END): Use pe_dll command-line arg to pass
LIBRARY name in, instead of hard-coding it.
* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an
extra target make frag to tmake_files according to EH model.
(i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target
frags that define makefile variable EH_MODEL appropriately.
* config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment.
* config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or
to "-sjlj" according to type of EH configured.
(LIBGCC_SONAME): Concatenate it to shared library base name.
* config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or
to "_sjlj" according to type of EH configured.
(LIBGCC_SONAME): Concatenate it to shared library base name.
* config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL.
(SHLIB_LINK): Add missing semicolon to if-else construct.
(SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.
* config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper.
(SHLIB_SONAME): Use it when overriding t-cygming default.
(SHLIB_IMPLIB): Override t-cygming default.
(SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.
Added:
trunk/gcc/config/i386/t-dw2-eh
trunk/gcc/config/i386/t-sjlj-eh
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/i386/cygming.h
trunk/gcc/config/i386/cygwin.h
trunk/gcc/config/i386/mingw32.h
trunk/gcc/config/i386/t-cygming
trunk/gcc/config/i386/t-cygwin
trunk/gcc/mkmap-flat.awk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38904