summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/sighandler_amd64.s
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-14 21:22:31 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-14 21:22:31 +0000
commit26e3b729268cc5594121f4becc45ef979ba4c36d (patch)
tree1fe7b493659b9776ecd8a60ac9afd6b29592b98d /pkg/safecopy/sighandler_amd64.s
parente09f51026e33386742f231d0b5e26823fbdc7501 (diff)
parent108410638aa8480e82933870ba8279133f543d2b (diff)
Merge release-20210408.0-32-g108410638 (automated)
Diffstat (limited to 'pkg/safecopy/sighandler_amd64.s')
-rw-r--r--pkg/safecopy/sighandler_amd64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/safecopy/sighandler_amd64.s b/pkg/safecopy/sighandler_amd64.s
index 475ae48e9..0b5e8df66 100644
--- a/pkg/safecopy/sighandler_amd64.s
+++ b/pkg/safecopy/sighandler_amd64.s
@@ -131,3 +131,9 @@ handle_fault:
MOVL DI, REG_RDI(DX)
RET
+
+// func addrOfSignalHandler() uintptr
+TEXT ·addrOfSignalHandler(SB), $0-8
+ MOVQ $·signalHandler(SB), AX
+ MOVQ AX, ret+0(FP)
+ RET