diff options
author | Carlos O'Donell <carlos@codesourcery.com> | 2006-11-03 00:59:32 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2006-11-03 00:59:32 +0000 |
commit | 978e411ffa21a917971b21f1e68003cbe91a5666 (patch) | |
tree | 034daed3d8fa40a96d1f2e843ef5f035c06fe376 /gcc/config/arm/linux-elf.h | |
parent | 50f606a629ca09f8cbf9c595362ad3e23c79cb5d (diff) | |
download | gcc-978e411ffa21a917971b21f1e68003cbe91a5666.tar.gz |
linux-elf.h (NEED_INDICATE_EXEC_STACK): Define as 1.
2006-11-02 Carlos O'Donell <carlos@codesourcery.com>
gcc/
* config/arm/linux-elf.h (NEED_INDICATE_EXEC_STACK): Define as 1.
* arm.c (arm_file_end): If NEED_INDICATE_EXEC_STACK call
file_end_indicate_exec_stack.
* arm.h [!NEED_INDICATE_EXEC_STACK] (NEED_INIDCATE_EXEC_STACK):
Define as 0.
* lib1funcs.asm [__ELF__ && __linux__]: Emit .note.GNU-stack section
for a non-executable stack.
* crti.asm: Likewise.
* crtn.asm: Likewise.
* libunwind.S: Likewise.
From-SVN: r118445
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r-- | gcc/config/arm/linux-elf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index acb13cd013f..d4e83514206 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -104,3 +104,7 @@ /* The GNU/Linux profiler needs a frame pointer. */ #define SUBTARGET_FRAME_POINTER_REQUIRED current_function_profile + +/* Add .note.GNU-stack. */ +#undef NEED_INDICATE_EXEC_STACK +#define NEED_INDICATE_EXEC_STACK 1 |