Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/arm/string Add index/rindex strong aiases.



details:   https://anonhg.NetBSD.org/src/rev/a4a6da955f6b
branches:  trunk
changeset: 784255:a4a6da955f6b
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jan 23 07:45:46 2013 +0000

description:
Add index/rindex strong aiases.

diffstat:

 common/lib/libc/arch/arm/string/strchr.S  |  6 +++++-
 common/lib/libc/arch/arm/string/strrchr.S |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r de630b3cf51c -r a4a6da955f6b common/lib/libc/arch/arm/string/strchr.S
--- a/common/lib/libc/arch/arm/string/strchr.S  Wed Jan 23 07:38:19 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strchr.S  Wed Jan 23 07:45:46 2013 +0000
@@ -1,4 +1,8 @@
-/* $NetBSD: strchr.S,v 1.1 2013/01/23 05:46:17 matt Exp $ */
+/* $NetBSD: strchr.S,v 1.2 2013/01/23 07:45:46 matt Exp $ */
+
+#include <machine/asm.h>
+
+STRONG_ALIAS(index, strchr)
 
 #if defined(_STANDALONE)
 #include "strchr_naive.S"
diff -r de630b3cf51c -r a4a6da955f6b common/lib/libc/arch/arm/string/strrchr.S
--- a/common/lib/libc/arch/arm/string/strrchr.S Wed Jan 23 07:38:19 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strrchr.S Wed Jan 23 07:45:46 2013 +0000
@@ -1,4 +1,8 @@
-/* $NetBSD: strrchr.S,v 1.1 2013/01/23 05:46:17 matt Exp $ */
+/* $NetBSD: strrchr.S,v 1.2 2013/01/23 07:45:46 matt Exp $ */
+
+#include <machine/asm.h>
+
+STRONG_ALIAS(rindex, strrchr)  
 
 #if defined(_STANDALONE)
 #include "strrchr_naive.S"



Home | Main Index | Thread Index | Old Index