aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/dl-execstack.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c
index c2b964b..97ff5d0 100644
--- a/sysdeps/unix/sysv/linux/dl-execstack.c
+++ b/sysdeps/unix/sysv/linux/dl-execstack.c
@@ -28,12 +28,7 @@
#include "kernel-features.h"
-int __stack_prot attribute_hidden attribute_relro
-#if _STACK_GROWS_DOWN
- = PROT_READ|PROT_WRITE|PROT_GROWSDOWN;
-#elif _STACK_GROWS_UP
- = PROT_READ|PROT_WRITE|PROT_GROWSUP;
-#endif
+extern int __stack_prot attribute_relro attribute_hidden;
int