2003-03-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/libc-start.c [!SHARED &&
	!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
This commit is contained in:
Ulrich Drepper 2003-03-18 01:56:11 +00:00
parent 09044a7360
commit 970269474a
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [!SHARED &&
!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
2003-03-17 Roland McGrath <roland@redhat.com>
* include/ctype.h: Revert last change.

View File

@ -0,0 +1 @@
#include <nptl/sysdeps/i386/pthread_spin_init.c>

View File

@ -115,8 +115,8 @@ LIBC_START_MAIN (int (*main) (int, char **, char **
ElfW(auxv_t) *__unbounded auxvec;
{
char *__unbounded *__unbounded evp = ubp_ev;
while (*evp != NULL)
++evp;
while (*evp++ != NULL)
;
auxvec = (ElfW(auxv_t) *__unbounded) evp;
}
# endif