[PATCH] Don't treat tls_offset == 1 as forced dynamic
Jeff Law
law@redhat.com
Thu Dec 6 04:51:00 GMT 2012
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.
Thanks,
Jeff
More information about the Libc-alpha
mailing list