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/arm.c | |
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/arm.c')
-rw-r--r-- | gcc-4.2.1/gcc/config/arm/arm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.2.1/gcc/config/arm/arm.c b/gcc-4.2.1/gcc/config/arm/arm.c index aee29b630..ec34cb208 100644 --- a/gcc-4.2.1/gcc/config/arm/arm.c +++ b/gcc-4.2.1/gcc/config/arm/arm.c @@ -14468,6 +14468,10 @@ arm_file_end (void) { int regno; + if (NEED_INDICATE_EXEC_STACK) + /* Add .note.GNU-stack. */ + file_end_indicate_exec_stack (); + if (! thumb_call_reg_needed) return; |