Commit 4b09c11
committed
llext: disable ELF buffer reuse on MPU/MMU builds
This PR adds a new CONFIG_LLEXT_HW_MEMORY_CHECKS hidden option to the
LLEXT Kconfig, which is enabled by default on builds where memory is
managed by an MPU, MMU or RISC-V PMP, and which may impose additional
alignment or access restrictions to the LLEXT memory regions.
This is used to disable the optimization that allows reuse of the ELF
buffer on such builds, since the ELF sections would certainly not be
aligned properly.
Signed-off-by: Luca Burelli <[email protected]>1 parent 4f4b39c commit 4b09c11
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments