Skip to content

Commit 55a9048

Browse files
dcpleungcfriedt
authored andcommitted
x86: linker: add snippets-text-sections.ld
Adds snippets-text-sections.ld to x86 linker scripts. For now, this is for the memory mapping test. Signed-off-by: Daniel Leung <[email protected]>
1 parent e8a66d5 commit 55a9048

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

boards/qemu/x86/qemu_x86_tiny.ld

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ SECTIONS
640640
*(.fini)
641641
*(.eini)
642642

643+
#include <snippets-text-sections.ld>
644+
643645
#ifndef CONFIG_LINKER_USE_PINNED_SECTION
644646
#include <zephyr/linker/kobject-text.ld>
645647
#endif

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ SECTIONS
341341
*(.fini)
342342
*(.eini)
343343

344+
#include <snippets-text-sections.ld>
345+
344346
#ifndef CONFIG_LINKER_USE_PINNED_SECTION
345347
#include <zephyr/linker/kobject-text.ld>
346348
#endif

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ SECTIONS
9595
*(.text)
9696
*(.text.*)
9797

98+
#include <snippets-text-sections.ld>
99+
98100
#include <zephyr/linker/kobject-text.ld>
99101

100102
MMU_PAGE_ALIGN_PERM

0 commit comments

Comments
 (0)