aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-09 19:02:31 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-09 19:02:31 +0000
commit3065b0c799c01456e8b7095b51bc5b50ffab251f (patch)
treee8152ef8000dab2bf34c8fcd3e871740cba1603c
parent974ac3d67864d946f8cf75f3db7cab699bc8d8aa (diff)
downloadglibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.tar
glibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.tar.gz
glibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.tar.bz2
glibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.zip
Update.
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/generic/dl-tls.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index af0365db8c..e131c96a07 100644
--- 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>
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index eb9a37bf95..5c05baee0c 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -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. */