[committed] hppa: Enable generation of GNU stack notes on Linux

Message ID ZUlUVdALm2uEQCcE@mx3210.localdomain
State Accepted
Headers
Series [committed] hppa: Enable generation of GNU stack notes on Linux |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

John David Anglin Nov. 6, 2023, 9:02 p.m. UTC
  I think we have waited long enough for everone to switch to a
kernel build with VDSO support.  Committed to trunk.

Dave
---

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.
  

Patch

diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index d38f68b1fa5..96c54765ddb 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