On 4/17/20 3:44 PM, Joseph Myers wrote:
> On Wed, 8 Apr 2020, Vineet Gupta via Libc-alpha wrote:
>
>> +/* Code to initially initialize the thread pointer. */
>> +# define TLS_INIT_TP(tcbp) \
>> + ({\
>> +
On Wed, 8 Apr 2020, Vineet Gupta via Libc-alpha wrote:
> +/* Code to initially initialize the thread pointer. */
> +# define TLS_INIT_TP(tcbp) \
> + ({ \
> + long result_var;
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