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/sparc64/strcpy.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/sparc64/strcpy.S')
-rw-r--r-- | libc/string/sparc/sparc64/strcpy.S | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/sparc/sparc64/strcpy.S b/libc/string/sparc/sparc64/strcpy.S index aa5d2aee3..cc906bae7 100644 --- a/libc/string/sparc/sparc64/strcpy.S +++ b/libc/string/sparc/sparc64/strcpy.S @@ -45,7 +45,10 @@ .text .align 32 -ENTRY(strcpy) +.globl strcpy +.set strcpy,__strcpy +.hidden __strcpy +ENTRY(__strcpy) sethi %hi(0x01010101), %g1 /* IEU0 Group */ mov %o0, %g6 /* IEU1 */ or %g1, %lo(0x01010101), %g1 /* IEU0 Group */ @@ -240,4 +243,4 @@ ENTRY(strcpy) stb %o4, [%o0 - 8] /* Store */ retl /* CTI+IEU1 Group */ mov %g6, %o0 /* IEU0 */ -END(strcpy) +END(__strcpy) |