summaryrefslogtreecommitdiff
path: root/libc/string/arm/memset.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/arm/memset.S')
-rw-r--r--libc/string/arm/memset.S11
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/string/arm/memset.S b/libc/string/arm/memset.S
index 097c5b92a..5fca03a13 100644
--- a/libc/string/arm/memset.S
+++ b/libc/string/arm/memset.S
@@ -19,12 +19,15 @@
#include <sys/syscall.h>
-.text
.global memset
-.type memset,%function
+.set memset,__memset
+.text
+.global __memset
+.hidden __memset
+.type __memset,%function
.align 4
-memset:
+__memset:
mov a4, a1
cmp a3, $8 @ at least 8 bytes to do?
blt 2f
@@ -68,4 +71,4 @@ memset:
strb a2, [a4], $1
mov pc, lr
-.size memset,.-memset
+.size __memset,.-__memset