summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-23 16:16:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-23 16:16:18 +0100
commit96402b74a85cd8506f022796c547bf00f6bd4031 (patch)
treeae2890958785e48b9a62aed0ae8220ae7a5644aa /cpukit
parentscore: Fix size of TLS_Thread_control_block (diff)
downloadrtems-96402b74a85cd8506f022796c547bf00f6bd4031.tar.bz2
score: Document _TLS_Alignment
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/score/tls.h10
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 {