qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] ELF loader?


From: Liviu Ionescu
Subject: [Qemu-devel] ELF loader?
Date: Sun, 7 Jun 2015 11:19:31 +0300

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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]