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 llext: export some symbols 2023-12-01 10:08:12 -05:00
Kconfig linker: decouple KERNEL_WHOLE_ARCHIVE from LLEXT 2024-05-13 14:23:38 +02:00
buf_loader.c llext: add llext_peek() 2023-11-10 10:40:26 +01:00
llext.c llext: add support for STT_OBJECT relocations 2024-05-07 17:56:19 -04:00
llext_export.c syscalls: llext: Export z_impl symbols so they are available to kernel 2024-03-26 19:31:56 -04:00
shell.c llext: shell: fix command completions 2023-12-06 18:01:34 -05:00