[arm] Fix strcpy for unified syntax on ARMv4t thumb.
ARMv4t does not support mov between two low registers. Now we use unified syntax mov instructions need converting to movs.
This commit is contained in:
parent
cd26662dc5
commit
d6cac3e1da
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user