Add NULL to end of argv array.

This commit is contained in:
Nick Clifton 2002-11-18 15:21:24 +00:00
parent dea6510472
commit 28ecb2f58e
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-18 Nick Clifton <nickc@redhat.com>
* libc/sys/arm/crt0.S: Add NULL to end of argv array.
2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
* testsuite/lib/passfail.exp (newlib_pass_fail): Changed to

View File

@ -181,6 +181,13 @@ __change_mode:
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__