Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 9 Feb 2002 19:02:31 +0000 (19:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 9 Feb 2002 19:02:31 +0000 (19:02 +0000)
2002-02-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate
loop to initial TLS block.

* csu/version.c (banner): If TLS support is available say so.

ChangeLog
sysdeps/generic/dl-tls.c

index af0365d..e131c96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-09  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate
+       loop to initial TLS block.
+
 2002-02-08  Richard Henderson  <rth@twiddle.net>
 
        * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include
@@ -27,7 +32,7 @@
 
        * configure.in: Test for __builtin_memset more realistically.
 
-       * csu/version.c (banner): If TLS support available say so.
+       * csu/version.c (banner): If TLS support is available say so.
 
 2002-02-04  H.J. Lu  <hjl@gnu.org>
 
index eb9a37b..5c05bae 100644 (file)
@@ -217,7 +217,8 @@ _dl_allocate_tls (void)
                      '\0',
                      runp->l_tls_blocksize - runp->l_tls_initimage_size);
            }
-         while ((runp = runp->l_tls_nextimage) != NULL);
+         while ((runp = runp->l_tls_nextimage)
+                !=  GL(dl_initimage_list)->l_tls_nextimage);
        }
 
       /* Add the dtv to the thread data structures.  */