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 fix standalone



details:   https://anonhg.NetBSD.org/src/rev/a31245b52c3f
branches:  trunk
changeset: 820740:a31245b52c3f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 04:54:42 2017 +0000

description:
fix standalone

diffstat:

 common/lib/libc/arch/arm/string/strcpy_naive.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 11e8fc17e52a -r a31245b52c3f common/lib/libc/arch/arm/string/strcpy_naive.S
--- a/common/lib/libc/arch/arm/string/strcpy_naive.S    Sat Jan 14 04:53:25 2017 +0000
+++ b/common/lib/libc/arch/arm/string/strcpy_naive.S    Sat Jan 14 04:54:42 2017 +0000
@@ -28,7 +28,7 @@
  */
 #include <machine/asm.h>
 
-RCSID("$NetBSD: strcpy_naive.S,v 1.7 2017/01/14 04:53:25 christos Exp $")
+RCSID("$NetBSD: strcpy_naive.S,v 1.8 2017/01/14 04:54:42 christos Exp $")
 
 #ifdef _LIBC
 #ifdef STRLCPY
@@ -82,12 +82,12 @@
 END(strncpy)
 #else
 /* LINTSTUB: char * strcpy(char *, const char *) */
-ENTRY(_strcpy)
+ENTRY(strcpy)
        mov     ip, r0                  /* we want to preserve r0 */
 1:     ldrb    r3, [r1], #1            /* read a byte */
        strb    r3, [ip], #1            /* write a byte */
        teq     r3, #0                  /* was it a NUL? */
        bne     1b                      /*   no, try next byte */
        RET                             /* return dst pointer */
-END(_strcpy)
+END(strcpy)
 #endif



Home | Main Index | Thread Index | Old Index