]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: remove __stack_chk_fail_local
authorHyang-Ah (Hana) Kim <hyangah@gmail.com>
Thu, 13 Aug 2015 13:05:22 +0000 (09:05 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 21 Aug 2015 15:56:36 +0000 (15:56 +0000)
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>
src/runtime/cgo/gcc_386.S
src/runtime/cgo/gcc_arm.S
src/runtime/cgo/gcc_arm64.S
src/runtime/cgo/gcc_ppc64x.S

index bf4142793c55a0110c36802be85100656cbf9b5a..ff11ce12082237ae470e48b0c9c68036886d5b98 100644 (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
index 980ab579e4a062fc7f52c1dbb28a1949688b8456..d2252982d8a840a085ff1ea89d45642e8445bbcf 100644 (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
index b7379d1013dc039844249323c520268886bc0230..d9da2722e641e82df8f34a53176e21be98e6e4d2 100644 (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
index 05af070f94e698560961fcad3c2ff0c4b4f04386..682349b2ab1d2295dee588ec91336a7b51e25868 100644 (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