Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 18 Mar 2003 01:56:11 +0000 (01:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 18 Mar 2003 01:56:11 +0000 (01:56 +0000)
2003-03-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-start.c [!SHARED &&
!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.

ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c [new file with mode: 0644]
sysdeps/generic/libc-start.c

index 5a41415..9b5d10f 100644 (file)
--- 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 (file)
index 0000000..80c0b52
--- /dev/null
@@ -0,0 +1 @@
+#include <nptl/sysdeps/i386/pthread_spin_init.c>
index c6178d7..351205d 100644 (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