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/13615
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Hyang-Ah (Hana) Kim 2015-08-13 09:05:22 -04:00 committed by Hyang-Ah Hana Kim
parent d9e3d16796
commit db5eb2a2c3
4 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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