c749e4bfbd
Load all sections to LMA not VMA, so the startup code(e.g. start.S) need relocate .data section to the final address(VMA) and zero .bss section by self. For example, SiFli and Actions: Background: Device with small sram, Bootloader run in sram and psram, need boot to Application, with memory overlap and without XIP. VMA of .data is in "psram" and LMA in "rom", if not enable `ELF_LOADTO_LMA`, ELF loader will load the section to VMA (will fill bootloader itself). Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
gnu-elf.ld | ||
Kconfig | ||
libelf_addrenv.c | ||
libelf_bind.c | ||
libelf_coredump.c | ||
libelf_ctors.c | ||
libelf_dtors.c | ||
libelf_init.c | ||
libelf_iobuffer.c | ||
libelf_load.c | ||
libelf_read.c | ||
libelf_sections.c | ||
libelf_symbols.c | ||
libelf_uninit.c | ||
libelf_unload.c | ||
libelf_verify.c | ||
libelf.h | ||
Make.defs |