summaryrefslogtreecommitdiffhomepage
path: root/pkg/safecopy/memcpy_arm64.s
diff options
context:
space:
mode:
authorKoichi Shiraishi <zchee.io@gmail.com>2021-04-28 02:06:39 +0900
committerKoichi Shiraishi <zchee.io@gmail.com>2021-04-28 02:24:24 +0900
commitcfa02cc1260d32af96675d91ae6476187a4d4d33 (patch)
treed206cd394d13c6ba368d40167c34b027b0a3afa4 /pkg/safecopy/memcpy_arm64.s
parent5b207fe7834d9c6541bd99bf75e3dfeebce2d9d5 (diff)
Fix typo of arg name on assembly files
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
Diffstat (limited to 'pkg/safecopy/memcpy_arm64.s')
-rw-r--r--pkg/safecopy/memcpy_arm64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/safecopy/memcpy_arm64.s b/pkg/safecopy/memcpy_arm64.s
index 7b3f50aa5..50f5b754b 100644
--- a/pkg/safecopy/memcpy_arm64.s
+++ b/pkg/safecopy/memcpy_arm64.s
@@ -33,8 +33,8 @@ TEXT ·memcpy(SB), NOSPLIT, $-8-36
// handleMemcpyFault will store a different value in this address.
MOVW $0, sig+32(FP)
- MOVD to+0(FP), R3
- MOVD from+8(FP), R4
+ MOVD dst+0(FP), R3
+ MOVD src+8(FP), R4
MOVD n+16(FP), R5
CMP $0, R5
BNE check