summaryrefslogtreecommitdiff
path: root/libc/string/sparc/sparc32/strlen.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/sparc/sparc32/strlen.S')
-rw-r--r--libc/string/sparc/sparc32/strlen.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/sparc/sparc32/strlen.S b/libc/string/sparc/sparc32/strlen.S
index cc455ac89..116700e24 100644
--- a/libc/string/sparc/sparc32/strlen.S
+++ b/libc/string/sparc/sparc32/strlen.S
@@ -63,7 +63,10 @@
3: retl
mov 2, %o0
-ENTRY(strlen)
+.globl strlen
+.set strlen,__strlen
+.hidden __strlen
+ENTRY(__strlen)
mov %o0, %o1
andcc %o0, 3, %g0
bne 10b
@@ -98,4 +101,4 @@ ENTRY(strlen)
add %o4, 1, %o4
13: retl
sub %o4, %o1, %o0
-END(strlen)
+END(__strlen)