diff options
author | Jing Yu <jingyu@google.com> | 2010-04-29 13:29:40 -0700 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2010-04-29 13:29:40 -0700 |
commit | 7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1 (patch) | |
tree | 98c22a443b3d793b5368be6723a6b0e2f4d5025a /gcc-4.2.1/gcc/config/arm/linux-elf.h | |
parent | 2c20a1914acb75c3c654893a490b96b2df2edc7a (diff) | |
download | toolchain_gcc-7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1.tar.gz toolchain_gcc-7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1.tar.bz2 toolchain_gcc-7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1.zip |
Add GNU-stack annotation to Android code.
Change-Id: I3554e76370446fe42a2624114b9c8e1d8a3cec28
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 |