zephyr/subsys
Mathieu Choplain a07d493c9d llext: relocate all symbols regardless of type
In the current implementation, the LLEXT linker will only apply
relocations targeting a given symbol if it has a specfic symbol type.
This is overzealous and causes issues on some platforms, as some symbols
that need to be relocated are skipped due to being of a "bad" type.

Ignore the symbol type when performing relocation to solve this problem,
but also add checks to ensure we don't attempt to relocate symbols with
an invalid section index. If such a relocation is found, return an error
instead of ignoring the relocation entry to ensure that it is impossible
to execute code from a (partially) unrelocated LLEXT.

Also remove all hacks added to circumvent this issue:
* qemu_cortex_r5 exclusion from test cases
* unnecessary exclusion of some flags when building with LLEXT EDK

Fixes #72832.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-05-31 16:38:09 -05:00
..
bindesc build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
bluetooth Bluetooth: host: Update id.c to support id rst/del for CONFIG_BT_SMP=n 2024-05-31 09:55:06 -05:00
canbus canbus: isotp: use proper CAN ID masks 2024-04-24 09:53:06 +02:00
console
debug debug: symtab: fix linking issue due to variable redefinition 2024-05-30 16:52:01 -05:00
demand_paging kernel: mmu: abstract access to page frame flags and address 2024-05-13 16:04:40 -04:00
dfu
disk
dsp
emul treewide: drivers: espi: Adjust terms per eSPI specification 1.5 2024-05-02 13:56:46 -04:00
fb
fs fs: open: Add Truncate flag to zfs open 2024-05-31 08:06:05 +02:00
input input: utils: rename the input dump callback 2024-04-01 11:05:02 +01:00
ipc ipc: icmsg_me: Fix possible integer overflow 2024-05-09 12:40:24 -04:00
jwt modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
llext llext: relocate all symbols regardless of type 2024-05-31 16:38:09 -05:00
logging build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
lorawan convert: use k_uptime_seconds 2024-05-14 09:32:01 +02:00
mem_mgmt
mgmt modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
modbus modbus: Respect CONFIG_UART_USE_RUNTIME_CONFIGURE 2024-04-10 10:01:55 +02:00
modem modem: chat: Add runtime APIs for chat scripts 2024-05-28 10:02:06 +02:00
net modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
pm pm: system: Restore clock after sleep 2024-05-27 02:10:03 -07:00
portability cmsis_rtos_v1: support memory mapped stack at abort hook 2024-04-10 07:44:27 -04:00
random build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
retention
rtio rtio: Callback chaining and testing 2024-05-29 08:41:12 +02:00
sd sd: sd_ops: fix DISK_IOCTL_CTRL_SYNC return code 2024-05-29 07:31:39 +02:00
sensing sensors: Add a blocking sensor_read call 2024-05-30 09:00:43 +02:00
settings subsys/settings: add a function to save subtree 2024-05-01 22:56:19 +01:00
shell shell: add shell backend for audio DSP using shared memory window 2024-05-31 08:07:03 +02:00
sip_svc linker: subsys: Use Z_LINK_ITERABLE_SUBALIGN 2024-04-20 13:45:25 -04:00
stats
storage modules: mbedtls: rename CONFIG_MBEDTLS_MAC_*_ENABLED and rm duplicates 2024-05-29 08:39:26 +02:00
task_wdt
testsuite build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
timing
tracing tracing: add k_realloc trace 2024-05-28 17:55:12 +02:00
usb usb: device_next: fix BOS descriptor request 2024-05-29 12:03:12 +02:00
zbus
CMakeLists.txt
Kconfig