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 For Thumb, use naive version



details:   https://anonhg.NetBSD.org/src/rev/f9e2c42d3250
branches:  trunk
changeset: 789426:f9e2c42d3250
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Aug 19 01:08:29 2013 +0000

description:
For Thumb, use naive version

diffstat:

 common/lib/libc/arch/arm/string/strchr.S  |  4 ++--
 common/lib/libc/arch/arm/string/strlen.S  |  4 ++--
 common/lib/libc/arch/arm/string/strnlen.S |  4 ++--
 common/lib/libc/arch/arm/string/strrchr.S |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r c50b67924c12 -r f9e2c42d3250 common/lib/libc/arch/arm/string/strchr.S
--- a/common/lib/libc/arch/arm/string/strchr.S  Mon Aug 19 00:56:12 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strchr.S  Mon Aug 19 01:08:29 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: strchr.S,v 1.2 2013/01/23 07:45:46 matt Exp $ */
+/* $NetBSD: strchr.S,v 1.3 2013/08/19 01:08:29 matt Exp $ */
 
 #include <machine/asm.h>
 
 STRONG_ALIAS(index, strchr)
 
-#if defined(_STANDALONE)
+#if defined(_STANDALONE) || defined(__thumb__)
 #include "strchr_naive.S"
 #else
 #include "strchr_arm.S"
diff -r c50b67924c12 -r f9e2c42d3250 common/lib/libc/arch/arm/string/strlen.S
--- a/common/lib/libc/arch/arm/string/strlen.S  Mon Aug 19 00:56:12 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strlen.S  Mon Aug 19 01:08:29 2013 +0000
@@ -1,6 +1,6 @@
-/* $NetBSD: strlen.S,v 1.2 2013/01/08 13:21:05 matt Exp $ */
+/* $NetBSD: strlen.S,v 1.3 2013/08/19 01:08:29 matt Exp $ */
 
-#ifdef _STANDALONE
+#if defined(_STANDALONE) || defined(__thumb__)
 #include "strlen_naive.S"
 #else
 #include "strlen_arm.S"
diff -r c50b67924c12 -r f9e2c42d3250 common/lib/libc/arch/arm/string/strnlen.S
--- a/common/lib/libc/arch/arm/string/strnlen.S Mon Aug 19 00:56:12 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strnlen.S Mon Aug 19 01:08:29 2013 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: strnlen.S,v 1.1 2013/01/23 07:56:09 matt Exp $ */
+/* $NetBSD: strnlen.S,v 1.2 2013/08/19 01:08:29 matt Exp $ */
 
 #define        STRNLEN
 
-#ifdef _STANDALONE
+#if defined(_STANDALONE) || defined(__thumb__)
 #include "strlen_naive.S"
 #else
 #include "strlen_arm.S"
diff -r c50b67924c12 -r f9e2c42d3250 common/lib/libc/arch/arm/string/strrchr.S
--- a/common/lib/libc/arch/arm/string/strrchr.S Mon Aug 19 00:56:12 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strrchr.S Mon Aug 19 01:08:29 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: strrchr.S,v 1.2 2013/01/23 07:45:46 matt Exp $ */
+/* $NetBSD: strrchr.S,v 1.3 2013/08/19 01:08:29 matt Exp $ */
 
 #include <machine/asm.h>
 
 STRONG_ALIAS(rindex, strrchr)  
 
-#if defined(_STANDALONE)
+#if defined(_STANDALONE) || defined(__thumb__)
 #include "strrchr_naive.S"
 #else
 #include "strrchr_arm.S"



Home | Main Index | Thread Index | Old Index