Summary of sections
The compiler places code and data into sections. Based on a configuration specified in the linker configuration file, ILINK places sections in memory.
This table lists the ELF sections and blocks that are used by the IAR build tools:
Section | Description |
|---|---|
Holds the stack used by C or C++ programs, for single-core G3 devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds a core-specific stack for multicore devices. | |
Holds zero-initialized | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds the heap used for dynamically allocated data. | |
Holds initial values for TLS variables. | |
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 a table of dynamic initialization functions. | |
Holds the reset vector table. | |
Holds zero-initialized | |
Holds zero-initialized | |
Holds | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds the vector table for | |
Holds the vector table for | |
Holds the vector table for | |
Holds the vector table for | |
Holds zero-initialized | |
Holds zero-initialized | |
Holds zero-initialized | |
Holds zero-initialized | |
Holds | |
Holds initial values for | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds | |
Holds initial values for | |
Holds | |
Holds the program code. | |
Holds | |
Holds | |
Holds | |
Holds zero-initialized | |
Holds | |
Holds | |
Holds initial values for | |
Holds |
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