summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/memclr_arm64.s
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/safecopy/memclr_arm64.s')
-rw-r--r--pkg/safecopy/memclr_arm64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/safecopy/memclr_arm64.s b/pkg/safecopy/memclr_arm64.s
index 7361b9067..c789bfeb3 100644
--- a/pkg/safecopy/memclr_arm64.s
+++ b/pkg/safecopy/memclr_arm64.s
@@ -72,3 +72,9 @@ head_loop:
CMP $16, R1
BLT tail_zero
B aligned_to_16
+
+// func addrOfMemclr() uintptr
+TEXT ·addrOfMemclr(SB), $0-8
+ MOVD $·memclr(SB), R0
+ MOVD R0, ret+0(FP)
+ RET