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. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel