zephyr/subsys/llext
Luca Burelli 709b2e44bf llext: automatically merge sections by type
This patch changes the way sections are mapped to memories. Instead of
looking at the section name, each section in the ELF file is mapped to
the llext_mem enum by looking at the section type and flags.

This allows for a more generic mapping that works for both the ARM and
Xtensa cases, and also allows for sections to be merged if they are
contiguous and non-overlapping in the ELF file.

This patch also fixes a number of corner cases, such as in the logging
test where a section with read-only data was being ignored (not copied
and not relinked).

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-06-04 13:37:22 +02:00
..
buf_loader.c
CMakeLists.txt llext: add _POSIX_C_SOURCE definition to build shell 2024-06-03 15:28:33 -04:00
Kconfig llext: add support for SLID-based linking 2024-06-03 15:29:34 -04:00
llext_export.c build: namespace syscall sources to zephyr/ 2024-05-28 22:03:55 +02:00
llext.c llext: automatically merge sections by type 2024-06-04 13:37:22 +02:00
shell.c llext: shell: fix command completions 2023-12-06 18:01:34 -05:00