[PATCH v2 04/15] RISC-V: Thread-Local Storage Support
Palmer Dabbelt
palmer@dabbelt.com
Sat Dec 23 19:10:00 GMT 2017
On Wed, 20 Dec 2017 08:45:46 PST (-0800), joseph@codesourcery.com wrote:
> On Tue, 19 Dec 2017, Palmer Dabbelt wrote:
>
>> +#define thread_offsetof(mem) (long)(offsetof(struct pthread, mem) - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)
>
> Missing space between offsetof and '('.
>
>> +register void* __thread_self asm("tp");
>
> Missing space after asm. Also should be "void *__thread_self" not "void*
> __thread_self".
Thanks, these have been fixed.
More information about the Libc-alpha
mailing list