From 970269474a7a5c5fe515adc6d55aeb2a796b73dd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Mar 2003 01:56:11 +0000 Subject: [PATCH] Update. 2003-03-17 Ulrich Drepper * sysdeps/generic/libc-start.c [!SHARED && !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. --- ChangeLog | 5 +++++ nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c | 1 + sysdeps/generic/libc-start.c | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c diff --git a/ChangeLog b/ChangeLog index 5a41415..9b5d10f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-17 Ulrich Drepper + + * sysdeps/generic/libc-start.c [!SHARED && + !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly. + 2003-03-17 Roland McGrath * include/ctype.h: Revert last change. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c b/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c new file mode 100644 index 0000000..80c0b52 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c index c6178d7..351205d 100644 --- a/sysdeps/generic/libc-start.c +++ b/sysdeps/generic/libc-start.c @@ -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 -- 2.7.4