From 96402b74a85cd8506f022796c547bf00f6bd4031 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 Mar 2020 16:16:18 +0100 Subject: score: Document _TLS_Alignment --- cpukit/include/rtems/score/tls.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cpukit/include/rtems/score/tls.h b/cpukit/include/rtems/score/tls.h index bfe6ff3a6b..65a49d87be 100644 --- a/cpukit/include/rtems/score/tls.h +++ b/cpukit/include/rtems/score/tls.h @@ -58,6 +58,16 @@ extern char _TLS_BSS_size[]; extern char _TLS_Size[]; +/** + * @brief The TLS section alignment. + * + * This symbol is provided by the linker command file as the maximum alignment + * of the .tdata and .tbss sections. The linker ensures that the first TLS + * output section is aligned to the maximum alignment of all TLS output + * sections, see function _bfd_elf_tls_setup() in bfd/elflink.c of the GNU + * Binutils sources. The linker command file must take into account the case + * that the .tdata section is empty and the .tbss section is non-empty. + */ extern char _TLS_Alignment[]; typedef struct { -- cgit v1.2.3