diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-12 00:48:12 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-12 00:48:12 +0000 |
commit | f56e03f5754f666423a80c0d4e74a908a48e1997 (patch) | |
tree | 58862c7ce99dbc255b2b71d62334268fe6d32bb3 /libc/string/sparc/sparc32/memset.S | |
parent | dd1be05eec6310a34647575c0d20bb5a052563c2 (diff) |
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
Diffstat (limited to 'libc/string/sparc/sparc32/memset.S')
-rw-r--r-- | libc/string/sparc/sparc32/memset.S | 7 |
1 files changed, 5 insertions, 2 deletions
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) |