SPRUIG8J January 2018 – March 2024
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
{
.bss: fill = 0x1234123412341234 /* Fills .bss with 0x1234123412341234 */
}