Commit 1d1b1dd
library_manager: llext: don't try to copy .bss
When copying LLEXT modules from DRAM to SRAM we allocate and copy
.data and .bss together because they have the same access flags, but
.bss doesn't have to be copied, this can in fact generate an error
because it isn't present in the ELF image. Only copy valid sections.
Reported-by: Tomasz Leman <tomasz.m.leman@intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>1 parent 5b98a5c commit 1d1b1dd
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
0 commit comments