summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/arm/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arm/strcpy.c')
-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 f44204c5b..a655a1124 100644
--- a/newlib/libc/machine/arm/strcpy.c
+++ b/newlib/libc/machine/arm/strcpy.c
@@ -92,7 +92,7 @@ strcpy (char* dst, const char* src)
"mov r3, r4\n"
"1:\n\t"
#ifdef __ARMEB__
- "rors r3, r3 #24\n\t"
+ "rors r3, r3, #24\n\t"
#endif
"strb r3, [ip], #1\n\t"
"tst r3, #0xff\n\t"