shithub: riscv

Download patch

ref: e7d670f1558576f5cfdb9f4b3f74bc4cda91e62c
parent: 14f8dbe6ad0b8d1fc76edbeb9c6e033c4592ed60
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Sep 5 14:34:00 EDT 2023

libc/arm64: disable profiling on memcpy (memmove is an alias and follows immediately)

--- a/sys/src/libc/arm64/memmove.s
+++ b/sys/src/libc/arm64/memmove.s
@@ -1,4 +1,4 @@
-TEXT memcpy(SB), $-4
+TEXT memcpy(SB), 1, $-4
 TEXT memmove(SB), $-4
 	MOV	from+8(FP), R1
 	MOV	n+16(FP), R2