From f56e03f5754f666423a80c0d4e74a908a48e1997 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Nov 2005 00:48:12 +0000 Subject: Add hidden versions, hope I made it correctly. Sparc optimized string functions are not usable with current build system, each function (as long as asm) should go into an own file, the file having the name of the function --- libc/string/sparc/sparc32/memset.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libc/string/sparc/sparc32/memset.S') diff --git a/libc/string/sparc/sparc32/memset.S b/libc/string/sparc/sparc32/memset.S index 02cebb791..ef8a5b634 100644 --- a/libc/string/sparc/sparc32/memset.S +++ b/libc/string/sparc/sparc32/memset.S @@ -62,7 +62,10 @@ ENTRY(__bzero) sub %o0, %o2, %o0 END(__bzero) -ENTRY(memset) +.globl memset +.set memset,__memset +.hidden __memset +ENTRY(__memset) and %o1, 0xff, %g3 sll %g3, 8, %g2 or %g3, %g2, %g3 @@ -147,6 +150,6 @@ ENTRY(memset) stb %g3, [%o0 + 6] 0: retl nop -END(memset) +END(__memset) weak_alias (__bzero, bzero) -- cgit v1.2.3