SPRU513Y August 2001 – June 2022 SM320F28335-EP
You can force the linker to initialize an uninitialized section by specifying an explicit fill value for it in the SECTIONS directive. This causes the entire section to have raw data (the fill value). For example:
SECTIONS
{
.ebss: fill = 0x1234 /* Fills .ebss with 0x1234 */
}
Because filling a section (even with 0s) causes raw data to be generated for the entire section in the output file, your output file will be very large if you specify fill values for large sections or holes.