summaryrefslogtreecommitdiffstats
path: root/0001-share-mingw-fset-stack-executable-with-cygwin.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-02-21 18:56:00 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2016-02-21 18:56:00 -0600
commit2426323bbdcaf8d5904f1f243bb2a5066dd21c8a (patch)
tree21ab325f116ab50e84ac20a77bbaf569eb56a469 /0001-share-mingw-fset-stack-executable-with-cygwin.patch
parentd9caede9a622bfa41c984c4685a7b185421c96d7 (diff)
downloadcygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.tar.gz
cygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.tar.xz
cygwin-gcc-2426323bbdcaf8d5904f1f243bb2a5066dd21c8a.zip
cygwin-gcc 5.3.0
Diffstat (limited to '0001-share-mingw-fset-stack-executable-with-cygwin.patch')
-rw-r--r--0001-share-mingw-fset-stack-executable-with-cygwin.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/0001-share-mingw-fset-stack-executable-with-cygwin.patch b/0001-share-mingw-fset-stack-executable-with-cygwin.patch
index 2607f5b..05d288d 100644
--- a/0001-share-mingw-fset-stack-executable-with-cygwin.patch
+++ b/0001-share-mingw-fset-stack-executable-with-cygwin.patch
@@ -1,7 +1,7 @@
-From 6435fa425aaed23dc46a50a66772b6b19a6e478a Mon Sep 17 00:00:00 2001
+From bb571d27350ba5e38ae1f2025dc32d826e21e48c Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Wed, 28 May 2014 22:05:17 +0800
-Subject: [PATCH 01/24] share mingw fset-stack-executable with cygwin
+Subject: [PATCH 01/21] share mingw fset-stack-executable with cygwin
---
gcc/config/i386/cygming.opt | 4 ++++
@@ -11,7 +11,7 @@ Subject: [PATCH 01/24] share mingw fset-stack-executable with cygwin
4 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/gcc/config/i386/cygming.opt b/gcc/config/i386/cygming.opt
-index 3437123..833fccc 100644
+index c7e398f..ff63140 100644
--- a/gcc/config/i386/cygming.opt
+++ b/gcc/config/i386/cygming.opt
@@ -50,6 +50,10 @@ muse-libstdc-wrappers
@@ -26,19 +26,19 @@ index 3437123..833fccc 100644
Driver
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
-index 165d3aa..145e3cc 100644
+index 2186937..803fb6c 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
-@@ -145,3 +145,7 @@ along with GCC; see the file COPYING3. If not see
+@@ -156,3 +156,7 @@ along with GCC; see the file COPYING3. If not see
/* We should find a way to not have to update this manually. */
- #define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-15.dll"
+ #define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-16.dll"
+/* Make stack executable to avoid DEP problems with trampolines. */
+#define HAVE_ENABLE_EXECUTE_STACK
+#undef CHECK_EXECUTE_STACK_ENABLED
+#define CHECK_EXECUTE_STACK_ENABLED flag_setstackexecutable
diff --git a/gcc/config/i386/mingw.opt b/gcc/config/i386/mingw.opt
-index 44fecb0..dc0f53d 100644
+index 322b66c..a0065a6 100644
--- a/gcc/config/i386/mingw.opt
+++ b/gcc/config/i386/mingw.opt
@@ -28,8 +28,4 @@ Wpedantic-ms-format
@@ -51,10 +51,10 @@ index 44fecb0..dc0f53d 100644
-
; Need to retain blank line above.
diff --git a/libgcc/config.host b/libgcc/config.host
-index f4a7428..f196680 100644
+index 140aa22..ecaabc1 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
-@@ -308,6 +308,9 @@ case ${host} in
+@@ -313,6 +313,9 @@ case ${host} in
i[34567]86-*-mingw* | x86_64-*-mingw*)
enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
;;
@@ -65,5 +65,5 @@ index f4a7428..f196680 100644
enable_execute_stack=enable-execute-stack-empty.c;
;;
--
-2.1.1
+2.4.5