Re: [PATCH v5 03/14] ARC: Thread Local Storage support

2020-04-17 Thread Vineet Gupta
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) \ >> + ({\ >> +

Re: [PATCH v5 03/14] ARC: Thread Local Storage support

2020-04-17 Thread Joseph Myers
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;

[PATCH v5 03/14] ARC: Thread Local Storage support

2020-04-08 Thread Vineet Gupta
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 +++