[PATCH] Don't treat tls_offset == 1 as forced dynamic
David Miller
davem@davemloft.net
Fri Dec 7 20:06:00 GMT 2012
From: Jeff Law <law@redhat.com>
Date: Wed, 05 Dec 2012 21:51:03 -0700
> On 12/04/2012 02:48 AM, Andreas Schwab wrote:
>> A TLS offset of 1 is a valid one, so it cannot be used as a marker to
>> force dynamic tls block allocation. A valid tls_offset is never
>> negative, so use -1 as the marker instead.
>>
>> Andreas.
>>
>> [BZ #14898]
>> * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
>> Change to -1.
> FYI for David M.
>
> If we could get this into 2.17 it'd be useful. In addition to fixing
> 14898 it fixes a downstream bug in Fedora (731228). It's been in
> Fedora since Sept 2011.
Ok, please install this change.
More information about the Libc-alpha
mailing list