pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 0.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 27 May 2018 21:49:43 +0000 (21:49 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 27 May 2018 21:49:43 +0000 (21:49 +0000)
* config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 0.

From-SVN: r260809

gcc/ChangeLog
gcc/config/pa/pa-linux.h

index 3f39a6e..10972e2 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-27  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 0.
+
 2018-05-27  Paul Koning  <ni1d@arrl.net>
 
        * config/pdp11/pdp11.md (truncsihi2): Remove.
index 1f6cb6b..a4ad2dd 100644 (file)
@@ -142,5 +142,8 @@ along with GCC; see the file COPYING3.  If not see
 #define HAVE_sync_compare_and_swapsi 1
 #define HAVE_sync_compare_and_swapdi 1
 
+/* It's not possible to enable GNU_stack notes since the kernel needs
+   an executable stack for signal returns and syscall restarts.  */
+
 #undef NEED_INDICATE_EXEC_STACK
-#define NEED_INDICATE_EXEC_STACK 1
+#define NEED_INDICATE_EXEC_STACK 0