On 3/25/20 6:57 PM, Joseph Myers wrote:
> On Thu, 12 Mar 2020, Vineet Gupta via Libc-alpha wrote:
>
>> +-- Derive offsets relative to the thread register.
>> +#define thread_offsetof(mem)(long)(offsetof(struct pthread, mem) -
>> sizeof(struct pthread))
>
> Missing spaces before '(' in ca
On Thu, 12 Mar 2020, Vineet Gupta via Libc-alpha wrote:
> +-- Derive offsets relative to the thread register.
> +#define thread_offsetof(mem) (long)(offsetof(struct pthread, mem) -
> sizeof(struct pthread))
Missing spaces before '(' in calls to offsetof and sizeof.
> +TLS_TCB_SIZE
This includes all 4 TLS addressing models
Signed-off-by: Vineet Gupta
---
sysdeps/arc/dl-tls.h | 30 +++
sysdeps/arc/libc-tls.c | 27 ++
sysdeps/arc/nptl/tcb-offsets.sym | 11 +++
sysdeps/arc/nptl/tls.h | 150 +++
sysdeps/arc