You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref(linker): split lma and vma of data sec for non unified plats
The linker script sets the .data section’s LMA (load address) to
_data_lma_start, which is always after .rodata. For non-unified memory,
it moves the location counter to PLAT_DATA_MEM before defining .data, so
the VMA (virtual address at runtime) is in the data memory region, while
the section is still loaded from _data_lma_start. This logic ensures that
on platforms with split code/data memories, .data is loaded from one region
(LMA) but placed at a different runtime address (VMA). On unified memory,
both addresses are the same.
Signed-off-by: Daniel Oliveira <[email protected]>
0 commit comments