Skip to content

Commit 6733efd

Browse files
fg-cfhaescolar
authored andcommitted
arch: x86: ia32: linker.ld: add missing DT sections macro
Generating sections via DT memory attributes did not work for the platform as only the memory region was created so far. This change adds the DT_LINKER_SECTION() macro to the linker script so that the appropriate sections will be generated, too. Fixes #79085 Signed-off-by: Florian Grandel <[email protected]>
1 parent 18b2005 commit 6733efd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/zephyr/arch/x86/ia32/linker.ld

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,10 @@ SECTIONS
573573
.strtab 0 : { *(.strtab) }
574574
.shstrtab 0 : { *(.shstrtab) }
575575
#endif
576-
}
576+
577+
/* Sections generated from 'zephyr,memory-region' nodes */
578+
LINKER_DT_SECTIONS()
579+
}
577580

578581
#ifdef CONFIG_XIP
579582
/*

0 commit comments

Comments
 (0)