aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2023-11-06 20:33:15 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2023-11-06 20:33:15 +0000
commit940f498b557cbcf2fec67b3f515477ed70dd496c (patch)
tree22a8e9ac8d3b5f05b3b48fd67d1ac2ba8b2412c7 /gcc
parent54da47f9459890ae81a45ae095bcd8ac903b863e (diff)
downloadgcc-940f498b557cbcf2fec67b3f515477ed70dd496c.zip
gcc-940f498b557cbcf2fec67b3f515477ed70dd496c.tar.gz
gcc-940f498b557cbcf2fec67b3f515477ed70dd496c.tar.bz2
Enable generation of GNU stack notes on Linux
2023-11-06 John David Anglin <danglin@gcc.gnu.org> * config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 1.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa-linux.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index d38f68b..96c5476 100644
--- a/gcc/config/pa/pa-linux.h
+++ b/gcc/config/pa/pa-linux.h
@@ -144,8 +144,7 @@ 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. */
+/* Enable GNU stack notes. */
#undef NEED_INDICATE_EXEC_STACK
-#define NEED_INDICATE_EXEC_STACK 0
+#define NEED_INDICATE_EXEC_STACK 1