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.1 for information about referring to linker symbols in C/C++ code.