From ccb1922d8b3918b32a3cc11e61786c6c368967a8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Nov 2005 00:03:11 +0000 Subject: Add hidden versions --- libc/string/frv/memcpy.S | 9 ++++++--- libc/string/frv/memset.S | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'libc/string') diff --git a/libc/string/frv/memcpy.S b/libc/string/frv/memcpy.S index 63cc523a9..1ffc7c398 100644 --- a/libc/string/frv/memcpy.S +++ b/libc/string/frv/memcpy.S @@ -31,8 +31,11 @@ # ############################################################################### .globl memcpy - .type memcpy,@function -memcpy: + .set memcpy,__memcpy + .globl __memcpy + .hidden __memcpy + .type __memcpy,@function +__memcpy: or.p gr8,gr9,gr4 orcc gr10,gr0,gr0,icc3 or.p gr10,gr4,gr4 @@ -121,4 +124,4 @@ memcpy_32: bne icc0,#2,0b bralr - .size memcpy, .-memcpy + .size __memcpy, .-__memcpy diff --git a/libc/string/frv/memset.S b/libc/string/frv/memset.S index 50d4c24c9..62e705a44 100644 --- a/libc/string/frv/memset.S +++ b/libc/string/frv/memset.S @@ -32,8 +32,11 @@ # ############################################################################### .globl memset - .type memset,@function -memset: + .set memset,__memset + .globl __memset + .hidden __memset + .type __memset,@function +__memset: orcc.p gr10,gr0,gr5,icc3 ; GR5 = count andi gr9,#0xff,gr9 or.p gr8,gr0,gr4 ; GR4 = address @@ -152,4 +155,4 @@ memset: cknc icc0,cc7 cstb.p gr12,@(gr4,gr0) ,cc7,#1 bralr - .size memset, .-memset + .size __memset, .-__memset -- cgit v1.2.3