summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/sighandler_arm64.s
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/safecopy/sighandler_arm64.s')
-rw-r--r--pkg/safecopy/sighandler_arm64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/safecopy/sighandler_arm64.s b/pkg/safecopy/sighandler_arm64.s
index 53e4ac2c1..41ed70ff9 100644
--- a/pkg/safecopy/sighandler_arm64.s
+++ b/pkg/safecopy/sighandler_arm64.s
@@ -141,3 +141,9 @@ handle_fault:
MOVW R0, REG_R1(R2)
RET
+
+// func addrOfSignalHandler() uintptr
+TEXT ·addrOfSignalHandler(SB), $0-8
+ MOVD $·signalHandler(SB), R0
+ MOVD R0, ret+0(FP)
+ RET