summaryrefslogtreecommitdiff
path: root/libc/string/sh64/memset.S
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/sh64/memset.S
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/sh64/memset.S')
-rw-r--r--libc/string/sh64/memset.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/sh64/memset.S b/libc/string/sh64/memset.S
index d87879717..cd2ad7998 100644
--- a/libc/string/sh64/memset.S
+++ b/libc/string/sh64/memset.S
@@ -9,6 +9,7 @@
! Copyright 2002 SuperH Ltd.
!
+#include <features.h>
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
@@ -20,8 +21,6 @@
#endif
.section .text..SHmedia32,"ax"
- .globl memset
- .set memset,__memset
.globl __memset
.hidden __memset
.type __memset, @function
@@ -94,3 +93,5 @@ loop:
blink tr2,r63
.size __memset,.-__memset
+
+strong_alias(__memset,memset)