summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 11:07:00 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 11:07:00 +0000
commitdfc07fc4b3c6305a2516c6f6f9d9314fbc77065e (patch)
tree61996fcc937a3096795a34123ae37a7c3a96b620
parent703c9b8a2b35f6f0a5e4b3d2b0521a007a81d0eb (diff)
downloadgcc-dfc07fc4b3c6305a2516c6f6f9d9314fbc77065e.tar.gz
2011-03-28 Kai Tietz <ktietz@redhat.com>
* gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native windows targets. (EH_MECHANISM): Make sure we use gcc's exception mechanism for all native windows target. * system-mingw.ads (System): Change ZCX_By_Default default to True. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171599 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ada/ChangeLog7
-rw-r--r--gcc/ada/gcc-interface/Makefile.in5
-rw-r--r--gcc/ada/system-mingw.ads2
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 8a489e074ce..03eb1368e08 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,12 @@
2011-03-28 Kai Tietz <ktietz@redhat.com>
+ * gcc-interface/Makefile.in (SO_LIB): Handle multilib build for native
+ windows targets.
+ (EH_MECHANISM): Make sure we use gcc's exception mechanism for all
+ native windows target.
+ * system-mingw.ads (System): Change ZCX_By_Default default to
+ True.
+
* raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to
prevent warning.
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index 71c00e2a813..246b401c8a9 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -1634,21 +1634,26 @@ ifeq ($(strip $(filter-out cygwin32% mingw32% pe,$(osys))),)
s-osprim.adb<s-osprim-mingw.adb \
s-taprop.adb<s-taprop-mingw.adb
+ EH_MECHANISM=-gcc
ifeq ($(strip $(filter-out x86_64%,$(arch))),)
ifeq ($(strip $(MULTISUBDIR)),/32)
LIBGNAT_TARGET_PAIRS += \
system.ads<system-mingw.ads
+ SO_OPTS= -m32 -Wl,-soname,
else
LIBGNAT_TARGET_PAIRS += \
system.ads<system-mingw-x86_64.ads
+ SO_OPTS = -m64 -Wl,-soname,
endif
else
ifeq ($(strip $(MULTISUBDIR)),/64)
LIBGNAT_TARGET_PAIRS += \
system.ads<system-mingw-x86_64.ads
+ SO_OPTS = -m64 -Wl,-soname,
else
LIBGNAT_TARGET_PAIRS += \
system.ads<system-mingw.ads
+ SO_OPTS = -m32 -Wl,-soname,
endif
endif
diff --git a/gcc/ada/system-mingw.ads b/gcc/ada/system-mingw.ads
index 6a9131a30d5..b9ab72407a2 100644
--- a/gcc/ada/system-mingw.ads
+++ b/gcc/ada/system-mingw.ads
@@ -139,7 +139,7 @@ private
Always_Compatible_Rep : constant Boolean := False;
Suppress_Standard_Library : constant Boolean := False;
Use_Ada_Main_Program_Name : constant Boolean := False;
- ZCX_By_Default : constant Boolean := False;
+ ZCX_By_Default : constant Boolean := True;
GCC_ZCX_Support : constant Boolean := True;
---------------------------