diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-09 19:02:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-09 19:02:31 +0000 |
commit | 3065b0c799c01456e8b7095b51bc5b50ffab251f (patch) | |
tree | e8152ef8000dab2bf34c8fcd3e871740cba1603c | |
parent | 974ac3d67864d946f8cf75f3db7cab699bc8d8aa (diff) | |
download | glibc-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/generic/dl-tls.c | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -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. */ |