SPRU513Z August 2001 – October 2023 SM320F28335-EP
Uninitialized sections (such as .ebss or .bss) are not loaded, so their only significant address is the run address. The linker allocates uninitialized sections only once: if you specify both run and load addresses, the linker warns you and ignores the load address. Otherwise, if you specify only one address, the linker treats it as a run address, regardless of whether you call it load or run.
This example specifies load and run addresses for an uninitialized section:
.ebss: load = 0x1000, run = FAST_MEM
A warning is issued, load is ignored, and space is allocated in FAST_MEM. All of the following examples have the same effect. The .ebss section is allocated in FAST_MEM.
.ebss: load = FAST_MEM
.ebss: run = FAST_MEM
.ebss: > FAST_MEM