diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 14:46:56 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 14:46:56 +0000 |
commit | fe68563b9a070fedf117c8738652587945427bb3 (patch) | |
tree | 300a37bb5f0cd28a984900d8e48925de2478fd1e /libc/string/sh64/strcpy.S | |
parent | 8356ff4a52a5df7e5e84ac13f7dad7c29e0bda9c (diff) |
Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used.
Diffstat (limited to 'libc/string/sh64/strcpy.S')
-rw-r--r-- | libc/string/sh64/strcpy.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/string/sh64/strcpy.S b/libc/string/sh64/strcpy.S index f662cc859..2ce998257 100644 --- a/libc/string/sh64/strcpy.S +++ b/libc/string/sh64/strcpy.S @@ -6,6 +6,7 @@ ! ! SH5 code Copyright 2002 SuperH Ltd. +#include <features.h> #include <endian.h> #if __BYTE_ORDER == __LITTLE_ENDIAN @@ -17,13 +18,11 @@ #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) |