This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]