aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/preempt_arm64.s
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2020-10-29 15:37:35 +0000
committerThan McIntosh <thanm@google.com>2020-10-29 15:58:40 +0000
commitddc7e1d16f58c73a2587bba130a4a49ffac8b0d1 (patch)
treec0f418c3302c68dd475cd6160702b549a1ffa1bc /src/runtime/preempt_arm64.s
parent152468070946c6b8688bff2c0cccd2bc72904722 (diff)
downloadgo-ddc7e1d16f58c73a2587bba130a4a49ffac8b0d1.tar.gz
go-ddc7e1d16f58c73a2587bba130a4a49ffac8b0d1.zip
Revert "reflect,runtime: use internal ABI for selected ASM routines"
This reverts commit 50af50d136551e2009b2b52e829570536271cdaa. Reason for revert: Causes failures in the runtime package test on Darwin, apparently. Change-Id: I006bc1b3443fa7207e92fb4a93e3fb438d4d3de3 Reviewed-on: https://go-review.googlesource.com/c/go/+/266257 Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/preempt_arm64.s')
-rw-r--r--src/runtime/preempt_arm64.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/preempt_arm64.s b/src/runtime/preempt_arm64.s
index 2b70a28479..36ee13282c 100644
--- a/src/runtime/preempt_arm64.s
+++ b/src/runtime/preempt_arm64.s
@@ -3,8 +3,7 @@
#include "go_asm.h"
#include "textflag.h"
-// Note: asyncPreempt doesn't use the internal ABI, but we must be able to inject calls to it from the signal handler, so Go code has to see the PC of this function literally.
-TEXT ·asyncPreempt<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-0
+TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
MOVD R30, -496(RSP)
SUB $496, RSP
#ifdef GOOS_linux