nuttx/binfmt/libelf
Ville Juven 64d8249895 sched/addrenv, binfmt: Always allocate address environment from heap
Instead of using a volatile storage for the address environment in the
binfmt / loadinfo structures, always allocate the address environment
from kheap.

This serves two purposes:
- If the task creation fails, any kernel thread that depends on the
  address environment created during task creation will not lose their
  mappings (because they hold a reference to it)
- The current address environment variable (g_addrenv) will NEVER contain
  a stale / incorrect value
- Releasing the address environment is simplified as any pointer given
  to addrenv_drop() can be assumed to be heap memory
- Makes the kludge function addrenv_clear_current irrelevant, as the
  system will NEVER have invalid mappings any more
2023-04-22 00:43:30 +08:00
..
gnu-elf.ld
Kconfig binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00
libelf_addrenv.c sched/addrenv, binfmt: Always allocate address environment from heap 2023-04-22 00:43:30 +08:00
libelf_bind.c sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00
libelf_coredump.c nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
libelf_ctors.c
libelf_dtors.c
libelf_init.c
libelf_iobuffer.c
libelf_load.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
libelf_read.c
libelf_sections.c
libelf_symbols.c libelf/libelf_symbols.c: Fix compilation warning about void* arithmetics 2022-09-28 20:35:31 +08:00
libelf_uninit.c
libelf_unload.c
libelf_verify.c
libelf.h Elf loader: give temporary write access to user .text memory 2022-05-03 21:25:25 +09:00
Make.defs tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00