From: Aurelien Jarno Date: Tue, 1 Mar 2011 00:00:28 +0000 (+1000) Subject: alpha: Define DEFAULT_STACK_PERMS X-Git-Tag: glibc-2.16-ports-merge^2~420 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65342356965f356a7fb9b4578856c5ad0861d423;p=platform%2Fupstream%2Fglibc.git alpha: Define DEFAULT_STACK_PERMS --- diff --git a/ChangeLog.alpha b/ChangeLog.alpha index ca354f1..473edac 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,9 @@ 2011-02-28 Aurelien Jarno + * sysdeps/alpha/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X. + +2011-02-28 Aurelien Jarno + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETPIPE_SZ, F_GETPIPE_SZ): Define. diff --git a/sysdeps/alpha/stackinfo.h b/sysdeps/alpha/stackinfo.h index 0a281bd..d9dbc35 100644 --- a/sysdeps/alpha/stackinfo.h +++ b/sysdeps/alpha/stackinfo.h @@ -22,7 +22,13 @@ #ifndef _STACKINFO_H #define _STACKINFO_H 1 +#include + /* On Alpha 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) + #endif /* stackinfo.h */