aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1/gcc/config/arm/arm.c
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-04-30 09:04:09 -0700
committerAndroid Code Review <code-review@android.com>2010-04-30 09:04:09 -0700
commitf68bf0c483879d30c4d97b9eaf8f9eb558ea1c45 (patch)
treecbe07ea97dce3e9d76b78c63f2a3464ad57a9ec9 /gcc-4.2.1/gcc/config/arm/arm.c
parentc2511ac51c9e6e6b8cd9900d6159d46718414012 (diff)
parent7bbf60e7d1d437a9b07a900c2e4b5e6a431020b1 (diff)
downloadtoolchain_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/arm.c')
-rw-r--r--gcc-4.2.1/gcc/config/arm/arm.c4
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;