summaryrefslogtreecommitdiffstats
path: root/libc/string/x86_64/strcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strcmp.S')
-rw-r--r--libc/string/x86_64/strcmp.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/string/x86_64/strcmp.S b/libc/string/x86_64/strcmp.S
index f933c1156..1eaff1691 100644
--- a/libc/string/x86_64/strcmp.S
+++ b/libc/string/x86_64/strcmp.S
@@ -22,9 +22,6 @@
#include "_glibc_inc.h"
.text
-.global strcmp
-.set strcmp,__strcmp
-.hidden __strcmp
ENTRY (BP_SYM (__strcmp))
L(oop): movb (%rdi), %al
cmpb (%rsi), %al
@@ -42,3 +39,5 @@ L(neq): movl $1, %eax
cmovbl %ecx, %eax
ret
END (BP_SYM (__strcmp))
+
+strong_alias(__strcmp,strcmp)