diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-12 00:03:11 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-12 00:03:11 +0000 |
commit | ccb1922d8b3918b32a3cc11e61786c6c368967a8 (patch) | |
tree | f530477b2c348cd495c1665705a4a012eb0c90c7 | |
parent | 925220a4fecf635d106989aa4a56d80152777ba3 (diff) |
Add hidden versions
-rw-r--r-- | libc/string/frv/memcpy.S | 9 | ||||
-rw-r--r-- | libc/string/frv/memset.S | 9 |
2 files changed, 12 insertions, 6 deletions
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 |