[PATCHv3] powerpc: Fix float128 IFUNC relocations [BZ #21707]

Carlos O'Donell carlos@redhat.com
Thu Jul 13 14:33:00 GMT 2017


On 07/13/2017 10:29 AM, Tulio Magno Quites Machado Filho wrote:
>> Why don't you also test writing to the TLS variable?
> 
> Because dynamically-linked applications initialization executes the following
> steps:
> 
>  1. Initialize TLS (including the TCB)
>  2. Load and relocate DSOs (including IREL)
>  3. Initialize thread-local variables, i.e. calling memset
> 
> Whatever you write in step 2 will be overwritten in step 3.
> Writing (or reading) to TLS variables at step 2 require even more changes,
> which I don't think are appropriate at this moment and are more than ppc*
> need to build with the latest libgcc.

That makes sense. Please say that in a comment, and we can expand the test
later when we fix IFUNC behaviours.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list