Merge pull request #3545 from DavidLin1577/patch-7
[libcpu/arm]Update start_gcc.S
This commit is contained in:
commit
4b33ba947b
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue