[PR19826] fix non-LE TLS in static programs

Florian Weimer fweimer@redhat.com
Fri Dec 2 15:25:00 GMT 2016


On 09/29/2016 09:04 PM, Carlos O'Donell wrote:
> On 09/20/2016 10:21 PM, Alexandre Oliva wrote:
>> Ok to install?
>>
>> for  ChangeLog
>>
>> 	[BZ #19826]
>> 	* elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
>> 	initialization of static TLS entries.
>> 	* elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
>> 	* nptl/allocatestack.c (init_one_static_tls): Likewise.
>
> Alex is going to hand this patch off to me to champion and finish
> iterating on with the rest of the interested developers (Andreas, Torvald,
> Florian).
>
> I'll work up a version 2 right now and post it shortly.

What's the status here?  It seems that Alexandre committed it on 
September 22nd, despite Torvald's objections.

This patch broke non-optimized global-dynamic TLS on aarch64 (for shared 
builds), as shown by my new tst-tls-manydynamic test case.

Florian





More information about the Libc-alpha mailing list