From fe68563b9a070fedf117c8738652587945427bb3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 14:46:56 +0000 Subject: Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used. --- libc/string/frv/memcpy.S | 5 +++-- libc/string/frv/memset.S | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'libc/string/frv') 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 .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 .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) -- cgit v1.2.3