while debugging my Cortex-M code I added a trace in the ELF loader and I noticed an odd thing:
cortexm_mcu_image_load() Load 10012 bytes at 0x08000000-0x0800271B. Load 132 bytes at 0x0800271C-0x0800279F. Load 704 bytes at 0x20000084-0x20000343. <--- Cortex-M3 core initialised. the first two lines load some bytes in flash, the third one loads some bytes in ram. I checked the linker map and the ram range is actually the .bss section. in other words, the .bss section is also "loaded". is this intentional, to automatically reserve memory for that area? (since it obviously has no content) regards, Liviu