Fix bugs in previous delta
This commit is contained in:
parent
28ecb2f58e
commit
1f176167c5
|
@ -95,6 +95,12 @@ __change_mode:
|
||||||
#endif
|
#endif
|
||||||
/* Parse string at r1 */
|
/* Parse string at r1 */
|
||||||
mov r0, #0 /* count of arguments so far */
|
mov r0, #0 /* count of arguments so far */
|
||||||
|
/* Push a NULL argument onto the end of the list. */
|
||||||
|
#ifdef __thumb__
|
||||||
|
push {r0}
|
||||||
|
#else
|
||||||
|
stmfd sp!, {r0}
|
||||||
|
#endif
|
||||||
.LC10:
|
.LC10:
|
||||||
/* Skip leading blanks */
|
/* Skip leading blanks */
|
||||||
#ifdef __thumb__
|
#ifdef __thumb__
|
||||||
|
@ -180,14 +186,6 @@ __change_mode:
|
||||||
strhi r4, [r3], #4
|
strhi r4, [r3], #4
|
||||||
bhi .LC13
|
bhi .LC13
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Push a NULL argument onto the end of the list. */
|
|
||||||
mov r2, #0
|
|
||||||
#ifdef __thumb__
|
|
||||||
push {r2}
|
|
||||||
#else
|
|
||||||
stmfd sp!, {r1}
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USES_INITFINI__
|
#ifdef __USES_INITFINI__
|
||||||
|
|
Loading…
Reference in New Issue