diff options
| author | David Turner <digit@android.com> | 2010-04-30 09:04:09 -0700 |
|---|---|---|
| committer | Android Code Review <code-review@android.com> | 2010-04-30 09:04:09 -0700 |
| commit | f68bf0c483879d30c4d97b9eaf8f9eb558ea1c45 (patch) | |
| tree | cbe07ea97dce3e9d76b78c63f2a3464ad57a9ec9 /gcc-4.2.1/gcc/config/arm/linux-elf.h | |
| parent | c2511ac51c9e6e6b8cd9900d6159d46718414012 (diff) | |
| parent | 7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1 (diff) | |
| download | toolchain_gcc-f68bf0c483879d30c4d97b9eaf8f9eb558ea1c45.tar.gz toolchain_gcc-f68bf0c483879d30c4d97b9eaf8f9eb558ea1c45.tar.bz2 toolchain_gcc-f68bf0c483879d30c4d97b9eaf8f9eb558ea1c45.zip | |
Merge "Add GNU-stack annotation to Android code."
Diffstat (limited to 'gcc-4.2.1/gcc/config/arm/linux-elf.h')
| -rw-r--r-- | gcc-4.2.1/gcc/config/arm/linux-elf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.2.1/gcc/config/arm/linux-elf.h b/gcc-4.2.1/gcc/config/arm/linux-elf.h index acb13cd01..a746cf541 100644 --- a/gcc-4.2.1/gcc/config/arm/linux-elf.h +++ b/gcc-4.2.1/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 |
