diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-23 22:57:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-23 22:57:42 +0000 |
commit | 42586dce0327cd294aa28dc74a2d73eb1c10da88 (patch) | |
tree | 818b642f3a582ff8470580c7a169ee21c3e91e1c /sysdeps | |
parent | 405521b51d89c9794d66f1d6cb7b2d3f02e9ae07 (diff) | |
download | glibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.zip glibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.tar.gz glibc-42586dce0327cd294aa28dc74a2d73eb1c10da88.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index bf3592e..3382e34 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) |