summaryrefslogtreecommitdiff
path: root/libc/string/sh64/strlen.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/sh64/strlen.S')
-rw-r--r--libc/string/sh64/strlen.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/string/sh64/strlen.S b/libc/string/sh64/strlen.S
index 57d15a29a..0f99488d5 100644
--- a/libc/string/sh64/strlen.S
+++ b/libc/string/sh64/strlen.S
@@ -32,10 +32,13 @@
.section .text..SHmedia32,"ax"
.globl strlen
- .type strlen,@function
+ .set strlen,__strlen
+ .globl __strlen
+ .hidden __strlen
+ .type __strlen,@function
.balign 16
-strlen:
+__strlen:
ptabs r18, tr4
/*
@@ -56,5 +59,4 @@ loop:
or r0, r63, r2
blink tr4, r63
- .size strlen, . - strlen
-
+ .size __strlen,.-__strlen