linker: use SECTION_DATA_PROLOGUE for app_smem
This is data and needs the implicit ALIGN_WITH_INPUT that is provided with SECTION_DATA_PROLOGUE. Otherwise misalignment may occur if XIP is turned on. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
e0ca403f4c
commit
c74c388764
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
Z_ITERABLE_SECTION_ROM(z_object_assignment, 4)
|
||||
#endif
|
||||
|
||||
SECTION_PROLOGUE(app_shmem_regions,,)
|
||||
SECTION_DATA_PROLOGUE(app_shmem_regions,,)
|
||||
{
|
||||
__app_shmem_regions_start = .;
|
||||
KEEP(*(SORT(.app_regions.*)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue