zephyr/tests/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/definition build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
canbus/isotp drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
debug tests: debug: symtab: add test 2024-05-30 16:52:01 -05:00
dfu tests dfu/mcuboot_multi: Add missing overlay for native_sim 2024-04-18 12:20:14 +02:00
dsp hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
edac
emul tests: subsys: fix emul test compile 2024-05-24 18:03:44 -04:00
fs fs: open: Add Truncate flag to zfs open 2024-05-31 08:06:05 +02:00
input tests input/longpress: Add missing overlays for native_sim_64 2024-04-18 12:20:14 +02:00
ipc tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
jwt modules: mbedtls: Add a mbedtls_ms_time implementation 2024-01-17 16:52:52 +01:00
llext/simple 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 tests/subsys several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
mgmt tests: mgmt: mcumgr: fs_mgmt_hash_supported: add unsupported platforms 2024-05-29 08:39:26 +02:00
modbus
modem modem: chat: Add runtime APIs for chat scripts 2024-05-28 10:02:06 +02:00
openthread tests: openthread: Disable native_posix board 2024-05-20 14:25:44 +03:00
pm tests: pm/device_runtime: Test pm_device_runtime_usage 2024-05-22 15:08:39 -05:00
portability tests/subsys/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
random/rng tests: random: Move and rename rng test 2024-05-30 16:48:31 -05:00
rtio/rtio_api rtio: Callback chaining and testing 2024-05-29 08:41:12 +02:00
sd tests: subsys: sd: report bus frequency, report timing correctly 2024-05-16 09:21:03 +02:00
settings tests settings/file: Add missing overlay for native_sim//64 2024-05-29 14:01:27 +02:00
shell build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
sip_svc
storage tests: storage: flash_map: _NODE macros 2024-05-16 16:21:34 +02:00
testsuite/fff_fake_contexts tests/subsys several: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
tracing/tracing_api
usb usb: bos: cleanup Binary Device Object Store header 2024-05-17 16:25:02 +01:00
zbus hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00