nuttx/libs/libc/modlib
Tiago Medicci Serrano 84d39a8d9a binfmt/libelf: Enable ELF loader if text heap read is word-aligned
The ELF loader needs to load the app into the memory before
executing it from the same location. As expected, this memory space
should be able to execute code. For architectures containing data
and instruction buses, the instruction bus may not be able to be
accessed in a non-aligned way, which is usually required when
copying data to that location. Eventually, this same memory space
can be accessed through the data bus, using different address
ranges. This commit enables accessing the memory through the data
bus to copy the app's data before executing it when
`CONFIG_ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ` is enabled.
2024-07-31 02:33:12 +08:00
..
CMakeLists.txt cmake/sched: fix build break based on mainline 2023-07-10 13:26:21 +08:00
gnu-elf.ld
Kconfig typos: fix typos in Kconfig files 2022-01-08 06:46:26 -03:00
Make.defs binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib_bind.c riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly 2023-12-12 17:32:36 -08:00
modlib_depend.c libs/libc: fix compile warning about modlib_depend when CONFIG_MODLIB_MAXDEPEND = 0 2023-10-26 01:53:38 +08:00
modlib_globals.S Fix loading of ET_DYN type of shared objects 2023-09-20 09:35:28 -04:00
modlib_init.c libs/modlib: remove dupliate define about modlib_dumpbuffer 2023-10-26 01:53:38 +08:00
modlib_iobuffer.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib_load.c binfmt/libelf: Enable ELF loader if text heap read is word-aligned 2024-07-31 02:33:12 +08:00
modlib_loadhdrs.c libs/modlib: avoid double free when call modlib_unload with erro 2023-09-20 17:02:29 +08:00
modlib_read.c libs/modlib: avoid seeking in each reading 2023-09-20 17:02:29 +08:00
modlib_registry.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib_sections.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib_symbols.c modlib/modlib_load: fix compile warning 2023-10-26 01:53:38 +08:00
modlib_symtab.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib_uninit.c libs/modlib: close fd when error happen 2023-09-20 17:02:29 +08:00
modlib_unload.c libs/modlib: Adding architecture-specific memory allocator for dynamic data loading 2023-10-26 01:53:38 +08:00
modlib_verify.c binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00
modlib.h binfmt/elf: Fix the minor style issue 2023-08-27 18:46:40 -03:00