summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strlen.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strlen.S')
-rw-r--r--libc/string/x86_64/strlen.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/string/x86_64/strlen.S b/libc/string/x86_64/strlen.S
index ab25515f8..77aae71ba 100644
--- a/libc/string/x86_64/strlen.S
+++ b/libc/string/x86_64/strlen.S
@@ -22,9 +22,6 @@
.text
-.global strlen
-.set strlen,__strlen
-.hidden __strlen
ENTRY (__strlen)
movq %rdi, %rcx /* Duplicate source pointer. */
andl $7, %ecx /* mask alignment bits */
@@ -136,3 +133,5 @@ ENTRY (__strlen)
subq %rdi, %rax /* compute difference to string start */
ret
END (__strlen)
+
+strong_alias(__strlen,strlen)