summaryrefslogtreecommitdiff
path: root/libc/string/sparc/sparc32/memchr.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-03 14:46:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-03 14:46:56 +0000
commitfe68563b9a070fedf117c8738652587945427bb3 (patch)
tree300a37bb5f0cd28a984900d8e48925de2478fd1e /libc/string/sparc/sparc32/memchr.S
parent8356ff4a52a5df7e5e84ac13f7dad7c29e0bda9c (diff)
Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used.
Diffstat (limited to 'libc/string/sparc/sparc32/memchr.S')
-rw-r--r--libc/string/sparc/sparc32/memchr.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/string/sparc/sparc32/memchr.S b/libc/string/sparc/sparc32/memchr.S
index e8f44f176..e012844ba 100644
--- a/libc/string/sparc/sparc32/memchr.S
+++ b/libc/string/sparc/sparc32/memchr.S
@@ -63,9 +63,6 @@
1: retl
sub %o0, 1, %o0
-.globl memchr
-.set memchr,__memchr
-.hidden __memchr
ENTRY(__memchr)
andcc %o1, 0xff, %o1
sll %o1, 8, %g6
@@ -140,7 +137,8 @@ ENTRY(__memchr)
4: retl
sub %o0, 4, %o0
END(__memchr)
+strong_alias(__memchr,memchr)
#if !__BOUNDED_POINTERS__
-weak_alias (__memchr, __ubp_memchr)
+weak_alias(__memchr,__ubp_memchr)
#endif