about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-23 22:57:42 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-23 22:57:42 +0000
commit42586dce0327cd294aa28dc74a2d73eb1c10da88 (patch)
tree818b642f3a582ff8470580c7a169ee21c3e91e1c /sysdeps
parent405521b51d89c9794d66f1d6cb7b2d3f02e9ae07 (diff)
downloadglibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.tar.gz
glibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.tar.xz
glibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.zip
Update.
2004-11-23  Alexandre Oliva  <aoliva@redhat.com>

	* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free
	range even if it doesn't match exactly.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index bf3592e292..3382e3493c 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -217,7 +217,7 @@ _dl_determine_tlsoffset (void)
       size_t off;
       max_align = MAX (max_align, slotinfo[cnt].map->l_tls_align);
 
-      if (slotinfo[cnt].map->l_tls_blocksize >= freetop - freebottom)
+      if (slotinfo[cnt].map->l_tls_blocksize <= freetop - freebottom)
 	{
 	  off = roundup (freebottom, slotinfo[cnt].map->l_tls_align);
 	  if (off - freebottom < firstbyte)