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 Enable ARM assembly versions...
details: https://anonhg.NetBSD.org/src/rev/c06804906cf7
branches: trunk
changeset: 784256:c06804906cf7
user: matt <matt%NetBSD.org@localhost>
date: Wed Jan 23 07:56:09 2013 +0000
description:
Enable ARM assembly versions of strlcat and strnlen.
diffstat:
common/lib/libc/arch/arm/string/strlcat.S | 14 ++++++++++++++
common/lib/libc/arch/arm/string/strnlen.S | 9 +++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
diffs (31 lines):
diff -r a4a6da955f6b -r c06804906cf7 common/lib/libc/arch/arm/string/strlcat.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/common/lib/libc/arch/arm/string/strlcat.S Wed Jan 23 07:56:09 2013 +0000
@@ -0,0 +1,14 @@
+/* $NetBSD: strlcat.S,v 1.1 2013/01/23 07:56:09 matt Exp $ */
+
+#include <machine/asm.h>
+
+#ifdef _LIBC
+WEAK_ALIAS(strlcat, _strlcat)
+#include "namespace.h"
+#endif
+
+#ifdef _STANDALONE
+#include "strlcat_naive.S"
+#else
+#include "strlcat_arm.S"
+#endif
diff -r a4a6da955f6b -r c06804906cf7 common/lib/libc/arch/arm/string/strnlen.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/common/lib/libc/arch/arm/string/strnlen.S Wed Jan 23 07:56:09 2013 +0000
@@ -0,0 +1,9 @@
+/* $NetBSD: strnlen.S,v 1.1 2013/01/23 07:56:09 matt Exp $ */
+
+#define STRNLEN
+
+#ifdef _STANDALONE
+#include "strlen_naive.S"
+#else
+#include "strlen_arm.S"
+#endif
Home |
Main Index |
Thread Index |
Old Index