diff options
Diffstat (limited to 'sysdeps/sh/stackinfo.h')
-rw-r--r-- | sysdeps/sh/stackinfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/sh/stackinfo.h b/sysdeps/sh/stackinfo.h index 8f7bf16..e502993 100644 --- a/sysdeps/sh/stackinfo.h +++ b/sysdeps/sh/stackinfo.h @@ -26,8 +26,8 @@ /* On SH the stack grows down. */ #define _STACK_GROWS_DOWN 1 -/* Default to an executable stack. PF_X can be overridden if PT_GNU_STACK is - * present, but it is presumed absent. */ -#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X) +/* Default to an executable stack. PROT_EXEC can be overridden if PT_GNU_STACK + * is present, but it is presumed absent. */ +#define DEFAULT_STACK_PROT_PERMS (PROT_READ|PROT_WRITE|PROT_EXEC) #endif /* stackinfo.h */ |