RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Functions | Variables
tlsallocsize.c File Reference

This source file contains the implementation of _TLS_Get_allocation_size(). More...

#include <rtems/score/tls.h>
#include <rtems/score/interr.h>
#include <rtems/score/thread.h>

Functions

uintptr_t _TLS_Get_allocation_size (void)
 Gets the allocation size of the thread-local storage area in bytes.
 

Variables

char _TLS_Data_begin []
 
char _TLS_Data_size []
 
char _TLS_BSS_begin []
 
char _TLS_BSS_size []
 
char _TLS_Size []
 
char _TLS_Alignment []
 The TLS section alignment.
 
const volatile TLS_Configuration _TLS_Configuration
 Provides the TLS configuration.
 

Detailed Description

This source file contains the implementation of _TLS_Get_allocation_size().

Variable Documentation

◆ _TLS_Alignment

char _TLS_Alignment[]
extern

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.