summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2011-06-06 12:57:08 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-06 12:57:08 -0700
commit65fb884d28c26dc84d27bea6861b3a95a327db66 (patch)
tree37d78b4b6c57c5e7b13fa1f453c3472e57b729b7 /linker
parent1dae997ca4b67b40d2fe60ae65909403661db0af (diff)
parent204d1f65dbfc6d5a14a90627d9d1efcfce8261ee (diff)
downloadbionic-65fb884d28c26dc84d27bea6861b3a95a327db66.zip
bionic-65fb884d28c26dc84d27bea6861b3a95a327db66.tar.gz
bionic-65fb884d28c26dc84d27bea6861b3a95a327db66.tar.bz2
am 204d1f65: am b2c7e0c1: Merge "x86: Enable -fstack-protector"
* commit '204d1f65dbfc6d5a14a90627d9d1efcfce8261ee': x86: Enable -fstack-protector
Diffstat (limited to 'linker')
-rw-r--r--linker/Android.mk1
-rw-r--r--linker/arch/x86/begin.S2
2 files changed, 3 insertions, 0 deletions
diff --git a/linker/Android.mk b/linker/Android.mk
index abe5995..d958d6b 100644
--- a/linker/Android.mk
+++ b/linker/Android.mk
@@ -50,6 +50,7 @@ LOCAL_CFLAGS += -DANDROID_ARM_LINKER
else
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS += -DANDROID_X86_LINKER
+ LOCAL_CFLAGS += -I$(LOCAL_PATH)/../libc/arch-x86/bionic
else
ifeq ($(TARGET_ARCH),sh)
LOCAL_CFLAGS += -DANDROID_SH_LINKER
diff --git a/linker/arch/x86/begin.S b/linker/arch/x86/begin.S
index b4427e0..5be59cb 100644
--- a/linker/arch/x86/begin.S
+++ b/linker/arch/x86/begin.S
@@ -44,3 +44,5 @@ _start:
popl %esp
jmp *%eax
+
+#include "__stack_chk_fail_local.S"