diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc32/stackinfo.h')
-rw-r--r-- | sysdeps/powerpc/powerpc32/stackinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/stackinfo.h b/sysdeps/powerpc/powerpc32/stackinfo.h index 31cba55..327e614 100644 --- a/sysdeps/powerpc/powerpc32/stackinfo.h +++ b/sysdeps/powerpc/powerpc32/stackinfo.h @@ -26,7 +26,8 @@ /* On PPC the stack grows down. */ #define _STACK_GROWS_DOWN 1 -/* PF_X can be overridden if PT_GNU_STACK is present but is presumed absent. */ -#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X) +/* PROT_EXEC can be overridden if PT_GNU_STACK is present but is presumed + absent. */ +#define DEFAULT_STACK_PROT_PERMS (PROT_READ|PROT_WRITE|PROT_EXEC) #endif /* stackinfo.h */ |