summaryrefslogtreecommitdiff
path: root/libc/string/frv
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
commitaf0172162f7c653cad6a11ed1c1a5459bc154465 (patch)
tree70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/string/frv
parentc8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff)
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/string/frv')
-rw-r--r--libc/string/frv/memcpy.S11
-rw-r--r--libc/string/frv/memset.S11
2 files changed, 10 insertions, 12 deletions
diff --git a/libc/string/frv/memcpy.S b/libc/string/frv/memcpy.S
index abd8a28db..ae843797d 100644
--- a/libc/string/frv/memcpy.S
+++ b/libc/string/frv/memcpy.S
@@ -31,10 +31,9 @@
# to caller's fixup routine, aborting the remainder of the copy
#
###############################################################################
- .globl __memcpy
- .hidden __memcpy
- .type __memcpy,@function
-__memcpy:
+ .globl memcpy
+ .type memcpy,@function
+memcpy:
or.p gr8,gr9,gr4
orcc gr10,gr0,gr0,icc3
or.p gr10,gr4,gr4
@@ -123,6 +122,6 @@ memcpy_32:
bne icc0,#2,0b
bralr
- .size __memcpy, .-__memcpy
+ .size memcpy, .-memcpy
-strong_alias(__memcpy,memcpy)
+libc_hidden_def(memcpy)
diff --git a/libc/string/frv/memset.S b/libc/string/frv/memset.S
index a548b3779..4e64550e4 100644
--- a/libc/string/frv/memset.S
+++ b/libc/string/frv/memset.S
@@ -32,10 +32,9 @@
# GR4, GR7, GR8, and GR11 must be managed
#
###############################################################################
- .globl __memset
- .hidden __memset
- .type __memset,@function
-__memset:
+ .globl memset
+ .type memset,@function
+memset:
orcc.p gr10,gr0,gr5,icc3 ; GR5 = count
andi gr9,#0xff,gr9
or.p gr8,gr0,gr4 ; GR4 = address
@@ -154,6 +153,6 @@ __memset:
cknc icc0,cc7
cstb.p gr12,@(gr4,gr0) ,cc7,#1
bralr
- .size __memset, .-__memset
+ .size memset, .-memset
-strong_alias(__memset,memset)
+libc_hidden_proto(memset)