e1147ec787
The .nrdata section is volatile, so its initialization must be controlled by the application, and not be automatically done by the startup code. It should neither be zeroed like .bss, nor be initialized from data in flash memory like .data. This was already supposed to be the case, but the output section type of .nrdata was not set to NOLOAD, causing the generated ELF .nrdata section header to be of type PROGBITS instead of NOBITS, i.e. load data was generated to be programmed in RAM, thus producing huge unprogrammable .bin files. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
.. | ||
6502 | ||
arm | ||
avr | ||
cc253x | ||
cc2430 | ||
cc2538 | ||
mc1322x | ||
msp430 | ||
native | ||
pic32 | ||
stm32w108 | ||
x86 |