PowerPC: Add DSO and TAR fields to TLS
Adhemerval Zanella
azanella@linux.vnet.ibm.com
Thu Dec 12 18:34:00 GMT 2013
On 12-12-2013 15:34, Carlos O'Donell wrote:
> On 12/12/2013 07:49 AM, Adhemerval Zanella wrote:
>> Hi all,
>>
>> This patch add three fields in powerpc tcb: one for tar save (ISA 2.07) and
>> two for DSO (Dynamic System Optimizer, an IBM product). Tested on PPC32,
>> PPC64, PPC64LE. Ok to apply?
> Looks good to me as long as nothing else relies on the size of the DTV
> and that offsets into the DTV are negative from the thread pointer
> such that adding things to the front of the structure is appropriate.
>
> I don't think anything relies on DTV size, and the Power TLS ABI does
> indeed use negative offsets from the thread pointer.
>
> Correct me if I'm wrong.
AFAIK there is no code relying on DTV struct size and powerpc tls abi uses negative offsets
(that's why we add new tcb member at start of the structure).
More information about the Libc-alpha
mailing list