mirror of git://sourceware.org/git/glibc.git
m68k: define DEFAULT_STACK_PERMS
This commit is contained in:
parent
390651fd1d
commit
a2bfcf6de8
|
@ -1,3 +1,7 @@
|
||||||
|
2010-12-26 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
|
||||||
|
|
||||||
2010-11-05 Andreas Schwab <schwab@linux-m68k.org>
|
2010-11-05 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
|
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
|
||||||
|
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -22,7 +22,13 @@
|
||||||
#ifndef _STACKINFO_H
|
#ifndef _STACKINFO_H
|
||||||
#define _STACKINFO_H 1
|
#define _STACKINFO_H 1
|
||||||
|
|
||||||
|
#include <elf.h>
|
||||||
|
|
||||||
/* On m68k the stack grows down. */
|
/* On m68k the stack grows down. */
|
||||||
#define _STACK_GROWS_DOWN 1
|
#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 */
|
#endif /* stackinfo.h */
|
||||||
|
|
Loading…
Reference in New Issue