incubator-nuttx/binfmt
dongjiuzhu1 4068f11129 binfmt/elf: Select ARCH_USE_TEXT_HEAP if ARCH_HAVE_TEXT_HEAP
Using up_textheap_memalign to allocate memory if arch support textheap
for loading section.

The default system heap does not support execution permissions,
so up_textheap_memalign allocation is required.

this patch can fix issue about #11043

update esp32 elf config:
remove -CONFIG_ARCH_USE_TEXT_HEAP=y becuase ARCH_CHIP_ESP32 select
ARCH_HAVE_TEXT_HEAP

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-10-27 15:42:02 +09:00
..
libelf
libnxflat
CMakeLists.txt
Kconfig
Makefile
binfmt.h
binfmt_copyargv.c
binfmt_coredump.c
binfmt_dumpmodule.c
binfmt_exec.c
binfmt_execmodule.c
binfmt_execsymtab.c
binfmt_exit.c
binfmt_globals.c
binfmt_initialize.c
binfmt_loadmodule.c
binfmt_register.c
binfmt_unloadmodule.c
binfmt_unregister.c
builtin.c
elf.c
nxflat.c