diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-18 01:56:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-18 01:56:11 +0000 |
commit | 970269474a7a5c5fe515adc6d55aeb2a796b73dd (patch) | |
tree | 9ff58f52ac57e09850238365033d1aeb983436f0 | |
parent | 09044a736089a2487187908c7ed9c34abc8a6e16 (diff) | |
download | glibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.tar.gz glibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.tar.xz glibc-970269474a7a5c5fe515adc6d55aeb2a796b73dd.zip |
Update.
2003-03-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [!SHARED && !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c | 1 | ||||
-rw-r--r-- | sysdeps/generic/libc-start.c | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 5a41415f17..9b5d10fde1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. 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 0000000000..80c0b52165 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c @@ -0,0 +1 @@ +#include <nptl/sysdeps/i386/pthread_spin_init.c> diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c index c6178d79af..351205d636 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 |