Merge pull request #3545 from DavidLin1577/patch-7

[libcpu/arm]Update start_gcc.S
This commit is contained in:
Bernard Xiong 2020-04-24 09:00:59 +08:00 committed by GitHub
commit 4b33ba947b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ reset:
copy_loop: copy_loop:
ldmia r0!, {r3-r10} /* copy from source address [r0] */ ldmia r0!, {r3-r10} /* copy from source address [r0] */
stmia r1!, {r3-r10} /* copy to target address [r1] */ stmia r1!, {r3-r10} /* copy to target address [r1] */
cmp r0, r2 /* until source end addreee [r2] */ cmp r0, r2 /* until source end address [r2] */
ble copy_loop ble copy_loop
/* setup stack */ /* setup stack */

View File

@ -107,7 +107,7 @@ reset:
copy_loop: copy_loop:
ldmia r0!, {r3-r10} /* copy from source address [r0] */ ldmia r0!, {r3-r10} /* copy from source address [r0] */
stmia r1!, {r3-r10} /* copy to target address [r1] */ stmia r1!, {r3-r10} /* copy to target address [r1] */
cmp r0, r2 /* until source end addreee [r2] */ cmp r0, r2 /* until source end address [r2] */
ble copy_loop ble copy_loop
#endif #endif