mirror of git://sourceware.org/git/glibc.git
Define DEFAULT_STACK_PERMS for ARM.
This commit is contained in:
parent
834956483f
commit
7f3c9dd2cc
|
@ -1,3 +1,7 @@
|
||||||
|
2010-12-21 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/arm/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
|
||||||
|
|
||||||
2010-11-24 Ken Werner <ken.werner@de.ibm.com>
|
2010-11-24 Ken Werner <ken.werner@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (atomic_full_barrier,
|
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (atomic_full_barrier,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 2001, 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 Arm the stack grows down. */
|
/* On Arm 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