1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

elf: Consolidate stackinfo.h

And use sane default the generic implementation.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
Adhemerval Zanella
2024-11-28 14:36:42 -03:00
parent b7d4de086c
commit 17a43505b3
7 changed files with 13 additions and 171 deletions

View File

@@ -15,6 +15,15 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
/* This file contains a bit of information about the stack allocation
of the processor. Since there is no general truth we can't say
anything here. */
/* This file contains a bit of information about the stack allocation of the
processor. Default to a non executable stack that grows downwards. */
#ifndef _STACKINFO_H
#define _STACKINFO_H 1
#include <elf.h>
#define _STACK_GROWS_DOWN 1
#define DEFAULT_STACK_PERMS (PF_R|PF_W)
#endif