summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-12 00:03:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-12 00:03:11 +0000
commitccb1922d8b3918b32a3cc11e61786c6c368967a8 (patch)
treef530477b2c348cd495c1665705a4a012eb0c90c7 /libc/string
parent925220a4fecf635d106989aa4a56d80152777ba3 (diff)
Add hidden versions
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/frv/memcpy.S9
-rw-r--r--libc/string/frv/memset.S9
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