aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_arm.s
diff options
context:
space:
mode:
authorWei Xiao <Wei.Xiao@arm.com>2018-05-02 14:25:00 +0800
committerCherry Zhang <cherryyz@google.com>2018-05-02 16:59:27 +0000
commit20102594a027336b08b8b38584f27656d4fc689e (patch)
tree2441b7fd954889d5e1aee903d1f034a1a8e1ab65 /src/runtime/asm_arm.s
parent836fe697c4ec34fb30fcba65052cb42822edf752 (diff)
downloadgo-20102594a027336b08b8b38584f27656d4fc689e.tar.xz
cmd/compile: intrinsify runtime.getcallerpc on all link register architectures
Add a compiler intrinsic for getcallerpc on following architectures: arm mips mipsle mips64 mips64le ppc64 ppc64le s390x Change-Id: I758f3d4742fc214b206bcd07d90408622c17dbef Reviewed-on: https://go-review.googlesource.com/110835 Run-TryBot: Wei Xiao <Wei.Xiao@arm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/asm_arm.s')
-rw-r--r--src/runtime/asm_arm.s5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s
index 74b1001fc3..a65be1cef2 100644
--- a/src/runtime/asm_arm.s
+++ b/src/runtime/asm_arm.s
@@ -760,11 +760,6 @@ TEXT setg<>(SB),NOSPLIT|NOFRAME,$0-0
MOVW g, R0
RET
-TEXT runtime·getcallerpc(SB),NOSPLIT|NOFRAME,$0-4
- MOVW 0(R13), R0 // LR saved by caller
- MOVW R0, ret+0(FP)
- RET
-
TEXT runtime·emptyfunc(SB),0,$0-0
RET