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 /sysdeps/generic/dl-tls.c | |
parent | 974ac3d67864d946f8cf75f3db7cab699bc8d8aa (diff) | |
download | glibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.tar.gz glibc-3065b0c799c01456e8b7095b51bc5b50ffab251f.tar.xz 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.
Diffstat (limited to 'sysdeps/generic/dl-tls.c')
-rw-r--r-- | sysdeps/generic/dl-tls.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |