diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-23 16:16:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-23 16:16:18 +0100 |
commit | 96402b74a85cd8506f022796c547bf00f6bd4031 (patch) | |
tree | ae2890958785e48b9a62aed0ae8220ae7a5644aa /cpukit/include | |
parent | 24c21795ea12380b9594d37f34a30432b56a73c6 (diff) |
score: Document _TLS_Alignment
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/score/tls.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 { |