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 END()



details:   https://anonhg.NetBSD.org/src/rev/409191d1b3e2
branches:  trunk
changeset: 789452:409191d1b3e2
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Aug 19 06:23:59 2013 +0000

description:
Add END()

diffstat:

 common/lib/libc/arch/arm/string/memcmp.S |  5 +++--
 common/lib/libc/arch/arm/string/memset.S |  7 ++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 21ed4d6f6e78 -r 409191d1b3e2 common/lib/libc/arch/arm/string/memcmp.S
--- a/common/lib/libc/arch/arm/string/memcmp.S  Mon Aug 19 06:11:20 2013 +0000
+++ b/common/lib/libc/arch/arm/string/memcmp.S  Mon Aug 19 06:23:59 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: memcmp.S,v 1.2 2013/08/11 04:56:32 matt Exp $ */
+/*      $NetBSD: memcmp.S,v 1.3 2013/08/19 06:23:59 matt Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -64,7 +64,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: memcmp.S,v 1.2 2013/08/11 04:56:32 matt Exp $")
+RCSID("$NetBSD: memcmp.S,v 1.3 2013/08/19 06:23:59 matt Exp $")
 
 ENTRY(memcmp)
        mov     ip, r0
@@ -178,3 +178,4 @@
        sub     r0, r3, r2              /* r0 = b1#5 - b2#5 */
        RET
 #endif
+END(memcmp)
diff -r 21ed4d6f6e78 -r 409191d1b3e2 common/lib/libc/arch/arm/string/memset.S
--- a/common/lib/libc/arch/arm/string/memset.S  Mon Aug 19 06:11:20 2013 +0000
+++ b/common/lib/libc/arch/arm/string/memset.S  Mon Aug 19 06:23:59 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memset.S,v 1.4 2013/08/11 04:56:32 matt Exp $  */
+/*     $NetBSD: memset.S,v 1.5 2013/08/19 06:23:59 matt Exp $  */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -237,3 +237,8 @@
        strbge  r3, [ip], #0x01         /* Set another byte */
        strbgt  r3, [ip]                /* and a third */
        RET                             /* Exit */
+#ifdef _BZERO
+END(bzero)
+#else
+END(memset)
+#endif



Home | Main Index | Thread Index | Old Index