summaryrefslogtreecommitdiffstats
path: root/linker/arch
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-06-20 14:35:51 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-06-21 09:26:33 +0800
commit6973e3da873c5694d0011734c7c6841a46150cb1 (patch)
tree27812988f268a0b66e8e0c7fcfab112bcfb82743 /linker/arch
parent028ccf5d40dd9a945ea92aa79822c08c6f6aa1d2 (diff)
downloadbionic-6973e3da873c5694d0011734c7c6841a46150cb1.zip
bionic-6973e3da873c5694d0011734c7c6841a46150cb1.tar.gz
bionic-6973e3da873c5694d0011734c7c6841a46150cb1.tar.bz2
Define __stack_chk_fail_local.S
With -fstack-protector, x86 -m32 needs __stack_chk_fail_local defined in crtbegin_*.o. Include __stack_chk_fail_local.S in begin.S otherwise linker (which is built w/o crt*) may not link. Change-Id: Id242fcf3eff157264afe3b04f27288ab7991220a
Diffstat (limited to 'linker/arch')
-rw-r--r--linker/arch/x86/begin.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/linker/arch/x86/begin.S b/linker/arch/x86/begin.S
index b4427e0..0c0fc3d 100644
--- a/linker/arch/x86/begin.S
+++ b/linker/arch/x86/begin.S
@@ -44,3 +44,4 @@ _start:
popl %esp
jmp *%eax
+#include "__stack_chk_fail_local.S"