This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 6e746ed364 arm64 fork: FORK_REG_LR,FORK_REG_SP should save the func
local stack not the last func stack
add 1f1d90de1c binfmt/modlib: support loading each sections to different
memory for Relocate object
add fc1aefbeb3 libc/modlib: free memory resource when rmmod elf
add 29e4e71167 modlib/dlfcn:unify same code
No new revisions were added by this update.
Summary of changes:
arch/Kconfig | 8 +
arch/sim/src/Makefile | 2 +-
arch/sim/src/sim/CMakeLists.txt | 2 +-
.../src/sim/{sim_textheap.c => sim_sectionheap.c} | 60 ++++-
binfmt/binfmt_unloadmodule.c | 34 +++
binfmt/elf.c | 16 ++
binfmt/libelf/libelf_addrenv.c | 62 +++--
binfmt/libelf/libelf_bind.c | 24 +-
binfmt/libelf/libelf_load.c | 96 +++++++-
include/nuttx/arch.h | 14 +-
include/nuttx/binfmt/binfmt.h | 4 +
include/nuttx/binfmt/elf.h | 4 +
include/nuttx/lib/modlib.h | 110 +++++++++
libs/libc/dlfcn/lib_dlclose.c | 177 +-------------
libs/libc/dlfcn/lib_dlopen.c | 253 +--------------------
libs/libc/dlfcn/lib_dlsym.c | 86 +------
libs/libc/modlib/CMakeLists.txt | 6 +-
libs/libc/modlib/Make.defs | 2 +
libs/libc/modlib/modlib_bind.c | 24 +-
.../libc/modlib/modlib_gethandle.c | 30 ++-
.../libc/modlib/modlib_getsymbol.c | 46 ++--
.../libc/modlib/modlib_insert.c | 69 +++---
libs/libc/modlib/modlib_load.c | 145 ++++++++++--
.../libc/modlib/modlib_remove.c | 67 ++++--
libs/libc/modlib/modlib_unload.c | 41 +++-
sched/module/mod_insmod.c | 233 +------------------
sched/module/mod_modhandle.c | 25 +-
sched/module/mod_modsym.c | 52 +----
sched/module/mod_rmmod.c | 126 +---------
29 files changed, 736 insertions(+), 1082 deletions(-)
rename arch/sim/src/sim/{sim_textheap.c => sim_sectionheap.c} (63%)
copy sched/module/mod_modhandle.c => libs/libc/modlib/modlib_gethandle.c (76%)
copy sched/module/mod_modsym.c => libs/libc/modlib/modlib_getsymbol.c (75%)
copy sched/module/mod_insmod.c => libs/libc/modlib/modlib_insert.c (87%)
copy sched/module/mod_rmmod.c => libs/libc/modlib/modlib_remove.c (78%)