]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Enable generation of GNU stack notes on Linux
authorJohn David Anglin <danglin@gcc.gnu.org>
Mon, 6 Nov 2023 20:33:15 +0000 (20:33 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 5 May 2025 12:14:35 +0000 (08:14 -0400)
2023-11-06  John David Anglin  <danglin@gcc.gnu.org>

* config/pa/pa-linux.h (NEED_INDICATE_EXEC_STACK): Define to 1.

gcc/config/pa/pa-linux.h

index 5af11a1df80464adb560bd1f46f986dd54cfa2ea..f467d3acbb993d2b993433fe69fe27ab65b902e5 100644 (file)
@@ -147,8 +147,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