aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-linux.h
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2018-05-27 21:49:43 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2018-05-27 21:49:43 +0000
commitd5ca27efb4b69f8fdf38240ad62cc1af30a30f77 (patch)
tree21d403cc6a397baddefeb0c0f864de3c5e444c56 /gcc/config/pa/pa-linux.h
parentb6e841a699fe43ddf632dd79e0002dd51c8bf864 (diff)
downloadgcc-d5ca27efb4b69f8fdf38240ad62cc1af30a30f77.zip
gcc-d5ca27efb4b69f8fdf38240ad62cc1af30a30f77.tar.gz
gcc-d5ca27efb4b69f8fdf38240ad62cc1af30a30f77.tar.bz2
pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 0.
* config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 0. From-SVN: r260809
Diffstat (limited to 'gcc/config/pa/pa-linux.h')
-rw-r--r--gcc/config/pa/pa-linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index 1f6cb6b..a4ad2dd 100644
--- a/gcc/config/pa/pa-linux.h
+++ b/gcc/config/pa/pa-linux.h
@@ -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