diff --git a/src/runtime/cgo/gcc_386.S b/src/runtime/cgo/gcc_386.S index bf4142793c..ff11ce1208 100644 --- a/src/runtime/cgo/gcc_386.S +++ b/src/runtime/cgo/gcc_386.S @@ -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 diff --git a/src/runtime/cgo/gcc_arm.S b/src/runtime/cgo/gcc_arm.S index 980ab579e4..d2252982d8 100644 --- a/src/runtime/cgo/gcc_arm.S +++ b/src/runtime/cgo/gcc_arm.S @@ -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 diff --git a/src/runtime/cgo/gcc_arm64.S b/src/runtime/cgo/gcc_arm64.S index b7379d1013..d9da2722e6 100644 --- a/src/runtime/cgo/gcc_arm64.S +++ b/src/runtime/cgo/gcc_arm64.S @@ -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 diff --git a/src/runtime/cgo/gcc_ppc64x.S b/src/runtime/cgo/gcc_ppc64x.S index 05af070f94..682349b2ab 100644 --- a/src/runtime/cgo/gcc_ppc64x.S +++ b/src/runtime/cgo/gcc_ppc64x.S @@ -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