zephyr/subsys/llext
Daniel Apperloo 9fc26804fb linker: decouple KERNEL_WHOLE_ARCHIVE from LLEXT
Dynamic code execution applications not using LLEXT for "extension"
loading are subject to the same linker optimization symbol resolution
issue described in commit 321e395 (in summary, libkernel.a syscalls
not used directly by the application result in weak symbol resolution
of their z_mrsh_ wrapper).

To support usecases where an application is using alternative methods
to load and execute code calling syscalls (likely from userspace) or
is using a mechanism where the linker may not be aware, the configuration
option has been decoupled from CONFIG_LLEXT (who is now a selector) to
KERNEL_WHOLE_ARCHIVE.

Signed-off-by: Daniel Apperloo <daniel.apperloo@intel.com>
2024-05-13 14:23:38 +02:00
..
CMakeLists.txt
Kconfig linker: decouple KERNEL_WHOLE_ARCHIVE from LLEXT 2024-05-13 14:23:38 +02:00
buf_loader.c
llext.c llext: add support for STT_OBJECT relocations 2024-05-07 17:56:19 -04:00
llext_export.c
shell.c