summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/machine/arm/strcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/arm/strcpy.c b/newlib/libc/machine/arm/strcpy.c
index 154451110..111528e0f 100644
--- a/newlib/libc/machine/arm/strcpy.c
+++ b/newlib/libc/machine/arm/strcpy.c
@@ -160,7 +160,7 @@ strcpy (char* dst, const char* src)
"bne 1b\n\t"
"bx lr\n\t"
#else
- "mov r3, r0\n\t"
+ "movs r3, r0\n\t"
"1:\n\t"
"ldrb r2, [r1]\n\t"
"adds r1, #1\n\t"