diff options
Diffstat (limited to 'sysdeps/or1k/stackinfo.h')
-rw-r--r-- | sysdeps/or1k/stackinfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/or1k/stackinfo.h b/sysdeps/or1k/stackinfo.h index 39cf5c2..10a56c5 100644 --- a/sysdeps/or1k/stackinfo.h +++ b/sysdeps/or1k/stackinfo.h @@ -27,8 +27,8 @@ /* On or1k 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 */ |