zephyr/subsys/llext
Luca Burelli d4ea1da10e llext: fix llext_find_section(), remove llext_section_by_name()
The function llext_section_by_name() is used only in one place, and it
expects the caller to have the section headers cache available. This
cache is freed after the ELF file is loaded, so the function is not
usable in the context where it is called.

Remove the function and replace the call with a direct search in the
ELF file section headers array, as was done before 08eb314c35.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-06-25 21:25:33 -04:00
..
buf_loader.c
CMakeLists.txt llext: refact: move ELF loading and linking to separate files 2024-06-07 18:07:53 +01:00
Kconfig llext: set proper LLEXT_STORAGE default for Xtensa 2024-06-25 21:25:33 -04:00
llext_export.c build: namespace syscall sources to zephyr/ 2024-05-28 22:03:55 +02:00
llext_link.c llext: fix section addresses at link time by using sh_info 2024-06-25 21:25:33 -04:00
llext_load.c llext: fix llext_find_section(), remove llext_section_by_name() 2024-06-25 21:25:33 -04:00
llext_mem.c llext: refact: move memory code to llext_mem.c 2024-06-07 18:07:53 +01:00
llext_priv.h llext: fix llext_find_section(), remove llext_section_by_name() 2024-06-25 21:25:33 -04:00
llext.c llext: fix llext_find_section(), remove llext_section_by_name() 2024-06-25 21:25:33 -04:00
shell.c