Summary of sections and blocks
This table lists the ELF sections and blocks that are used by the IAR build tools:
Section | Description |
|---|---|
Holds zero-initialized static and global variables. | |
Holds the stack used by C or C++ programs. | |
Holds static and global initialized variables. | |
Holds initial values for | |
| See Shared object layout. |
| See Shared object layout. |
| See Shared object layout. |
Holds exception-related code. | |
| See Shared object layout. |
| See Shared object layout. |
Holds the heap used for dynamically allocated data. | |
Holds the TLS area for the primary thread. | |
Holds initial values for the TLS area. | |
Holds the | |
Holds the locale table for the selected locales. | |
Holds a table of dynamic initialization functions. | |
Holds the reset vector table | |
Holds the stack for interrupt requests, IRQ, and exceptions. | |
Holds | |
| See Shared object layout. |
Holds a table of dynamic initialization functions. | |
Holds a table of dynamic initialization functions. | |
| See Shared object layout. |
| See Shared object layout. |
Holds constant data. | |
| See Reference information on linker blocks for shared objects. |
| See Reference information on linker blocks for shared objects. |
| See Reference information on linker blocks for shared objects. |
| See Reference information on linker blocks for shared objects. |
Holds thread-local zero-initialized static and global variables for the primary thread. | |
Holds thread-local initialized static and global variables for the primary thread. | |
Holds the program code. | |
Holds | |
Holds initializers for the | |
| See Shared object layout. |
Holds secure gateway veneers. |
Other sections
In addition to the ELF sections used for your application, the tools use a number of other ELF sections for a variety of purposes:
Sections starting with
.debuggenerally contain debug information in the DWARF formatSections starting with
.iar.debugcontain supplemental debug information in an IAR formatThe section
.commentcontains the tools and command lines used for building the fileSections starting with
.relor.relacontain ELF relocation informationThe section
.strtabcontains the names of the symbol in the symbol table