OSDN Git Service

Use strong_alias everywhere instead of .global/.set. Correct some cases where the...
[uclinux-h8/uClibc.git] / libc / string / sh64 / strcpy.S
index f662cc8..2ce9982 100644 (file)
@@ -6,6 +6,7 @@
 !
 ! SH5 code Copyright 2002 SuperH Ltd.
 
+#include <features.h>
 #include <endian.h>
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #endif
 
        .section .text..SHmedia32,"ax"
-       .globl  strcpy
-       .set    strcpy,__strcpy
        .globl  __strcpy
        .hidden __strcpy
        .type   __strcpy, @function
-
        .align 5
+
 __strcpy:
 
        pta/l shortstring,tr1
@@ -100,3 +99,5 @@ loop:
        blink tr1, r63 // shortstring
 
        .size   __strcpy,.-__strcpy
+
+strong_alias(__strcpy,strcpy)