nuttx/binfmt/libelf
wangjianyu3 c749e4bfbd binfmt: ELF support load to LMA
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>
2023-09-04 12:23:26 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
gnu-elf.ld libelf: Support prioritized init and fini arrays. 2023-04-22 01:28:01 +08:00
Kconfig binfmt: ELF support load to LMA 2023-09-04 12:23:26 +08:00
libelf_addrenv.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf_bind.c binfmt: Move elf_allocbuffer to elf_sectname and elf_symname 2023-07-16 14:17:07 +03:00
libelf_coredump.c elf/coredump: alignment stack buffer to 64 to match gdb request 2023-05-30 23:00:23 +08:00
libelf_ctors.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
libelf_dtors.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
libelf_init.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf_iobuffer.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
libelf_load.c binfmt: ELF support load to LMA 2023-09-04 12:23:26 +08:00
libelf_read.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf_sections.c binfmt: ELF support load to LMA 2023-09-04 12:23:26 +08:00
libelf_symbols.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf_uninit.c binfmt: ELF support load to LMA 2023-09-04 12:23:26 +08:00
libelf_unload.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf_verify.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
libelf.h binfmt: ELF support load to LMA 2023-09-04 12:23:26 +08:00
Make.defs binfmt: Move [elf|nxflat]_[un]initialize to private header file 2023-07-10 23:03:17 +03:00