Commit db5eb2a2 authored by Hyang-Ah (Hana) Kim's avatar Hyang-Ah (Hana) Kim Committed by Hyang-Ah Hana Kim

runtime/cgo: remove __stack_chk_fail_local

I cannot find where it's being used.

This addresses a duplicate symbol issue encountered in golang/go#9327.

Change-Id: I8efda45a006ad3e19423748210c78bd5831215e0
Reviewed-on: https://go-review.googlesource.com/13615Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent d9e3d167
......@@ -35,11 +35,6 @@ EXT(crosscall_386):
popl %ebp
ret
.globl EXT(__stack_chk_fail_local)
EXT(__stack_chk_fail_local):
1:
jmp 1b
#ifdef __ELF__
.section .note.GNU-stack,"",@progbits
#endif
......@@ -36,10 +36,6 @@ EXT(crosscall_arm1):
pop {r4, r5, r6, r7, r8, r9, r10, r11, ip, pc}
.globl EXT(__stack_chk_fail_local)
EXT(__stack_chk_fail_local):
1:
b 1b
#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
......
......@@ -47,10 +47,6 @@ EXT(crosscall1):
ldp x19, x20, [sp], #16
ret
.globl EXT(__stack_chk_fail_local)
EXT(__stack_chk_fail_local):
1:
b 1b
#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
......
......@@ -129,11 +129,6 @@ restoreregs:
blr
.globl EXT(__stack_chk_fail_local)
EXT(__stack_chk_fail_local):
1:
// TODO(austin)
b 1b
#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment