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/0725801206b9
branches: trunk
changeset: 350597:0725801206b9
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 14 04:53:25 2017 +0000
description:
fix standalone
diffstat:
common/lib/libc/arch/arm/string/strcpy_naive.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 54a68ee7dede -r 0725801206b9 common/lib/libc/arch/arm/string/strcpy_naive.S
--- a/common/lib/libc/arch/arm/string/strcpy_naive.S Sat Jan 14 04:37:55 2017 +0000
+++ b/common/lib/libc/arch/arm/string/strcpy_naive.S Sat Jan 14 04:53:25 2017 +0000
@@ -28,7 +28,7 @@
*/
#include <machine/asm.h>
-RCSID("$NetBSD: strcpy_naive.S,v 1.6 2017/01/14 03:35:21 christos Exp $")
+RCSID("$NetBSD: strcpy_naive.S,v 1.7 2017/01/14 04:53:25 christos Exp $")
#ifdef _LIBC
#ifdef STRLCPY
@@ -66,7 +66,7 @@
END(strlcpy)
#elif defined(STRNCPY)
/* LINTSTUB: char * strncpy(char *, const char *, size_t) */
-ENTRY(_strncpy)
+ENTRY(strncpy)
mov ip, r0 /* we want to preserve r0 */
add r2, r2, r0 /* get end of dst buffer */
1: cmp ip, r2 /* are at the end of dst already? */
@@ -79,7 +79,7 @@
strblt r3, [ip], #1 /* no, write a NUL */
blt 2b /* until dst is filled */
3: RET /* return dst pointer */
-END(_strncpy)
+END(strncpy)
#else
/* LINTSTUB: char * strcpy(char *, const char *) */
ENTRY(_strcpy)
Home |
Main Index |
Thread Index |
Old Index