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 If compiling standalone with...
details: https://anonhg.NetBSD.org/src/rev/3195db24edf0
branches: trunk
changeset: 789501:3195db24edf0
user: matt <matt%NetBSD.org@localhost>
date: Tue Aug 20 21:35:24 2013 +0000
description:
If compiling standalone with Thumb, use the thumb version instead of the
naive version.
diffstat:
common/lib/libc/arch/arm/string/strcpy.S | 6 +++++-
common/lib/libc/arch/arm/string/strlcpy.S | 6 +++++-
common/lib/libc/arch/arm/string/strncpy.S | 6 +++++-
3 files changed, 15 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r 5d1dbcbab937 -r 3195db24edf0 common/lib/libc/arch/arm/string/strcpy.S
--- a/common/lib/libc/arch/arm/string/strcpy.S Tue Aug 20 21:32:50 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strcpy.S Tue Aug 20 21:35:24 2013 +0000
@@ -1,7 +1,11 @@
-/* $NetBSD: strcpy.S,v 1.4 2013/01/10 02:13:49 matt Exp $ */
+/* $NetBSD: strcpy.S,v 1.5 2013/08/20 21:35:24 matt Exp $ */
#if defined(_STANDALONE)
+#ifdef __thumb__
+#include "strcpy_thumb.S"
+#else
#include "strcpy_naive.S"
+#endif
#else
#include "strcpy_arm.S"
#endif
diff -r 5d1dbcbab937 -r 3195db24edf0 common/lib/libc/arch/arm/string/strlcpy.S
--- a/common/lib/libc/arch/arm/string/strlcpy.S Tue Aug 20 21:32:50 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strlcpy.S Tue Aug 20 21:35:24 2013 +0000
@@ -1,9 +1,13 @@
-/* $NetBSD: strlcpy.S,v 1.4 2013/01/10 06:52:35 matt Exp $ */
+/* $NetBSD: strlcpy.S,v 1.5 2013/08/20 21:35:24 matt Exp $ */
#define STRLCPY
#if defined(_STANDALONE)
+#if defined(__thumb__)
+#include "strcpy_thumb.S"
+#else
#include "strcpy_naive.S"
+#endif
#else
#include "strcpy_arm.S"
#endif
diff -r 5d1dbcbab937 -r 3195db24edf0 common/lib/libc/arch/arm/string/strncpy.S
--- a/common/lib/libc/arch/arm/string/strncpy.S Tue Aug 20 21:32:50 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strncpy.S Tue Aug 20 21:35:24 2013 +0000
@@ -1,9 +1,13 @@
-/* $NetBSD: strncpy.S,v 1.2 2013/01/10 02:13:49 matt Exp $ */
+/* $NetBSD: strncpy.S,v 1.3 2013/08/20 21:35:24 matt Exp $ */
#define STRNCPY
#if defined(_STANDALONE)
+#if defined(__thumb__)
+#include "strcpy_thumb.S"
+#else
#include "strcpy_naive.S"
+#endif
#else
#include "strcpy_arm.S"
#endif
Home |
Main Index |
Thread Index |
Old Index