[PATCH v2 6/8] score: Add AArch64 port
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Sep 29 11:34:15 UTC 2020
On 28/09/2020 17:24, Kinsey Moore wrote:
> diff --git a/cpukit/include/rtems/score/tls.h b/cpukit/include/rtems/score/tls.h
> index 65a49d87be..66961f0083 100644
> --- a/cpukit/include/rtems/score/tls.h
> +++ b/cpukit/include/rtems/score/tls.h
> @@ -85,7 +85,9 @@ typedef struct TLS_Thread_control_block {
> struct TLS_Thread_control_block *tcb;
> #else /* !__i386__ */
> TLS_Dynamic_thread_vector *dtv;
> -#if CPU_SIZEOF_POINTER == 4
> +/* gcc under AArch64/LP64 expects a 16 byte TCB at the beginning of the TLS
> + * data segment and indexes into it accordingly for TLS variable addresses */
> +#if CPU_SIZEOF_POINTER == 4 || defined(AARCH64_MULTILIB_ARCH_V8)
> uintptr_t reserved;
> #endif
> #endif /* __i386__ */
Multi line comments should have the format:
/*
* I am a complete
* sentence.
*/
It should be GCC instead of gcc.
More information about the devel
mailing list