[PATCH v8 08/20] aarch64: Add GCS support for makecontext

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Wed Jan 15 14:14:41 GMT 2025



On 15/01/25 11:12, Wilco Dijkstra wrote:
> Hi Adhemerval,
> 
>>> +/* Reserved for future use.  */
>>> +static __thread void __attribute__ ((unused)) *__gcs = NULL;
>>
>> There is no need to reserve this, specially because we are not sure
>> which strategy we will use (and this adds extra TLS size for libc.so).
> 
> The idea behind this is to reserve a pointer that could be used in
> the future by a backport. Or does adding thread local data not
> change the ABI unless you add it to the TCB?

Afaik this should not affect the ABI, but may affect the size of TLS
static size (which we could increase on a backport).  Florian might know
better how backportable it would be.


More information about the Libc-alpha mailing list