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/strcmp.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/strcmp.S')
-rw-r--r-- | libc/string/sparc/sparc32/strcmp.S | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/sparc/sparc32/strcmp.S b/libc/string/sparc/sparc32/strcmp.S index d6cf9e7d3..2ae1b2ef4 100644 --- a/libc/string/sparc/sparc32/strcmp.S +++ b/libc/string/sparc/sparc32/strcmp.S @@ -74,7 +74,10 @@ 2: retl mov %o4, %o0 -ENTRY(strcmp) +.globl strcmp +.set strcmp,__strcmp +.hidden __strcmp +ENTRY(__strcmp) andcc %o0, 3, %g0 bne 10b sethi %hi(0x80808080), %g1 @@ -252,4 +255,4 @@ ENTRY(strcmp) ld [%i0], %i4 jmpl %i7 + 8, %g0 restore %g4, %g0, %o0 -END(strcmp) +END(__strcmp) |