From fe68563b9a070fedf117c8738652587945427bb3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 14:46:56 +0000 Subject: Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used. --- libc/string/sparc/sparc32/memchr.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/string/sparc/sparc32/memchr.S') 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 -- cgit v1.2.3