summaryrefslogtreecommitdiff
path: root/libc/string/frv
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-03 14:46:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-03 14:46:56 +0000
commitfe68563b9a070fedf117c8738652587945427bb3 (patch)
tree300a37bb5f0cd28a984900d8e48925de2478fd1e /libc/string/frv
parent8356ff4a52a5df7e5e84ac13f7dad7c29e0bda9c (diff)
Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used.
Diffstat (limited to 'libc/string/frv')
-rw-r--r--libc/string/frv/memcpy.S5
-rw-r--r--libc/string/frv/memset.S5
2 files changed, 6 insertions, 4 deletions
diff --git a/libc/string/frv/memcpy.S b/libc/string/frv/memcpy.S
index 1ffc7c398..abd8a28db 100644
--- a/libc/string/frv/memcpy.S
+++ b/libc/string/frv/memcpy.S
@@ -18,6 +18,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <features.h>
.text
.p2align 4
@@ -30,8 +31,6 @@
# to caller's fixup routine, aborting the remainder of the copy
#
###############################################################################
- .globl memcpy
- .set memcpy,__memcpy
.globl __memcpy
.hidden __memcpy
.type __memcpy,@function
@@ -125,3 +124,5 @@ memcpy_32:
bralr
.size __memcpy, .-__memcpy
+
+strong_alias(__memcpy,memcpy)
diff --git a/libc/string/frv/memset.S b/libc/string/frv/memset.S
index 62e705a44..a548b3779 100644
--- a/libc/string/frv/memset.S
+++ b/libc/string/frv/memset.S
@@ -18,6 +18,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <features.h>
.text
.p2align 4
@@ -31,8 +32,6 @@
# GR4, GR7, GR8, and GR11 must be managed
#
###############################################################################
- .globl memset
- .set memset,__memset
.globl __memset
.hidden __memset
.type __memset,@function
@@ -156,3 +155,5 @@ __memset:
cstb.p gr12,@(gr4,gr0) ,cc7,#1
bralr
.size __memset, .-__memset
+
+strong_alias(__memset,memset)