1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00
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.
This commit is contained in:
Ulrich Drepper
2002-02-09 19:02:31 +00:00
parent 974ac3d678
commit 3065b0c799
2 changed files with 8 additions and 2 deletions

View 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. */