summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strcmp.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-12 01:03:51 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-12 01:03:51 +0000
commit7e51a684c591db163a3944de55848dc642643b6c (patch)
tree67c62366ec191251ba2f5dea46a127303fd16f77 /libc/string/x86_64/strcmp.S
parentf56e03f5754f666423a80c0d4e74a908a48e1997 (diff)
Add hidden versions
Diffstat (limited to 'libc/string/x86_64/strcmp.S')
-rw-r--r--libc/string/x86_64/strcmp.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/strcmp.S b/libc/string/x86_64/strcmp.S
index 0b401a773..f933c1156 100644
--- a/libc/string/x86_64/strcmp.S
+++ b/libc/string/x86_64/strcmp.S
@@ -22,7 +22,10 @@
#include "_glibc_inc.h"
.text
-ENTRY (BP_SYM (strcmp))
+.global strcmp
+.set strcmp,__strcmp
+.hidden __strcmp
+ENTRY (BP_SYM (__strcmp))
L(oop): movb (%rdi), %al
cmpb (%rsi), %al
jne L(neq)
@@ -38,4 +41,4 @@ L(neq): movl $1, %eax
movl $-1, %ecx
cmovbl %ecx, %eax
ret
-END (BP_SYM (strcmp))
+END (BP_SYM (__strcmp))