Skip to content

Commit 36413cd

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

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ SECTIONS
153153

154154
*(.text)
155155
*(".text.*")
156+
157+
#include <snippets-text-sections.ld>
158+
156159
*(.gnu.linkonce.t.*)
157160

158161
/*

include/zephyr/arch/arm64/scripts/linker.ld

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ SECTIONS
131131
*(".text.*")
132132
*(.gnu.linkonce.t.*)
133133

134+
#include <snippets-text-sections.ld>
135+
134136
#include <zephyr/linker/kobject-text.ld>
135137

136138
MMU_ALIGN;

0 commit comments

Comments
 (0)