[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-alpha
Subject: Re: DTV_AT_TP _dl_determine_tlsoffset often doesn't use free gap
From: Alexandre Oliva <aoliva () redhat ! com>
Date: 2004-11-22 21:32:24
Message-ID: or1xelmuxj.fsf () livre ! redhat ! lsd ! ic ! unicamp ! br
[Download RAW message or body]
Ping?
On Oct 29, 2004, Alexandre Oliva <aoliva@redhat.com> wrote:
> * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free
> range even if it doesn't match exactly.
> --- sysdeps/generic/dl-tls.c.~1.43.~ 2004-10-14 15:16:17.000000000 -0300
> +++ sysdeps/generic/dl-tls.c 2004-10-29 04:53:26.500811239 -0300
> @@ -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)
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic