summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strchr.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/strchr.S
parentf56e03f5754f666423a80c0d4e74a908a48e1997 (diff)
Add hidden versions
Diffstat (limited to 'libc/string/x86_64/strchr.S')
-rw-r--r--libc/string/x86_64/strchr.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/strchr.S b/libc/string/x86_64/strchr.S
index b84b012b2..04d365a82 100644
--- a/libc/string/x86_64/strchr.S
+++ b/libc/string/x86_64/strchr.S
@@ -22,7 +22,10 @@
.text
-ENTRY (BP_SYM (strchr))
+.globl strchr
+.set strchr,__strchr
+.hidden __strchr
+ENTRY (BP_SYM (__strchr))
/* Before we start with the main loop we process single bytes
until the source pointer is aligned. This has two reasons:
@@ -282,6 +285,6 @@ ENTRY (BP_SYM (strchr))
6:
nop
retq
-END (BP_SYM (strchr))
+END (BP_SYM (__strchr))
weak_alias (BP_SYM (strchr), BP_SYM (index))