Skip to content
Commit 3fcd9033 authored by Luca Burelli's avatar Luca Burelli Committed by Anas Nashif
Browse files

llext: optimize allocations for read-only sections



When loading an extension, read-only sections that do not have
relocations and whose data is accessible from the ELF buffer can be
directly mapped as-is in the extension memory. This avoids the need to
allocate and copy unmodified data from the ELF buffer to the LLEXT heap.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent e5594891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment