From: Andreas Schwab Date: Sun, 26 Dec 2010 10:02:05 +0000 (+0100) Subject: m68k: define DEFAULT_STACK_PERMS X-Git-Tag: glibc-2.16-ports-before-merge~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2bfcf6de8f306e7ff76c7859b8b93549641425c;p=thirdparty%2Fglibc.git m68k: define DEFAULT_STACK_PERMS --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 821f292f445..ccd8b4e60c0 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,7 @@ +2010-12-26 Andreas Schwab + + * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define. + 2010-11-05 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include diff --git a/sysdeps/m68k/stackinfo.h b/sysdeps/m68k/stackinfo.h index 66e5a17fb41..b44d4d0ee93 100644 --- a/sysdeps/m68k/stackinfo.h +++ b/sysdeps/m68k/stackinfo.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,7 +22,13 @@ #ifndef _STACKINFO_H #define _STACKINFO_H 1 +#include + /* On m68k 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 */