Fix bugs in previous delta

This commit is contained in:
Nick Clifton 2002-11-18 16:30:55 +00:00
parent 28ecb2f58e
commit 1f176167c5
1 changed files with 6 additions and 8 deletions

View File

@ -95,6 +95,12 @@ __change_mode:
#endif
/* Parse string at r1 */
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:
/* Skip leading blanks */
#ifdef __thumb__
@ -180,14 +186,6 @@ __change_mode:
strhi r4, [r3], #4
bhi .LC13
#endif
/* Push a NULL argument onto the end of the list. */
mov r2, #0
#ifdef __thumb__
push {r2}
#else
stmfd sp!, {r1}
#endif
#endif
#ifdef __USES_INITFINI__