[PATCH v2 04/15] RISC-V: Thread-Local Storage Support
Joseph Myers
joseph@codesourcery.com
Wed Dec 20 16:45:00 GMT 2017
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".
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list