summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/memcpy_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/memcpy_amd64.s
parente09f51026e33386742f231d0b5e26823fbdc7501 (diff)
parent108410638aa8480e82933870ba8279133f543d2b (diff)
Merge release-20210408.0-32-g108410638 (automated)
Diffstat (limited to 'pkg/safecopy/memcpy_amd64.s')
-rw-r--r--pkg/safecopy/memcpy_amd64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/safecopy/memcpy_amd64.s b/pkg/safecopy/memcpy_amd64.s
index 00b46c18f..1d63ca1fd 100644
--- a/pkg/safecopy/memcpy_amd64.s
+++ b/pkg/safecopy/memcpy_amd64.s
@@ -217,3 +217,9 @@ move_129through256:
MOVOU -16(SI)(BX*1), X15
MOVOU X15, -16(DI)(BX*1)
RET
+
+// func addrOfMemcpy() uintptr
+TEXT ·addrOfMemcpy(SB), $0-8
+ MOVQ $·memcpy(SB), AX
+ MOVQ AX, ret+0(FP)
+ RET