summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/memcpy_amd64.s
diff options
context:
space:
mode:
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