SPRUIG8K January 2018 – March 2025
| .text | is assigned the first address of the .text output section. (It marks the beginning of executable code.) | |
| etext | is assigned the first address following the .text output section. (It marks the end of executable code.) | |
| .data | is assigned the first address of the .data output section. (It marks the beginning of initialized data tables.) | |
| edata | is assigned the first address following the .data output section. (It marks the end of initialized data tables.) | |
| .bss | is assigned the first address of the .bss output section. (It marks the beginning of uninitialized data.) | |
| end | is assigned the first address following the .bss output section. (It marks the end of uninitialized data.) |
The linker automatically defines the following symbols for C/C++ support when the --ram_model or --rom_model option is used.
| __TI_STACK_SIZE | is assigned the size of the .stack section. | |
| __TI_STACK_END | is assigned the end of the .stack section. | |
| __TI_SYSMEM_SIZE | is assigned the size of the .sysmem section. | |
| __TI_STATIC_BASE | is assigned the value to be loaded into the data pointer register (DP) at boot time. This is typically the start of the first section containing a definition of a symbol that is referenced via near-DP addressing. |
See Section 12.6 for information about referring to linker symbols in C/C++ code.