Skip to content

Commit f2e2b66

Browse files
stephanosioioannisg
authored andcommitted
arch: arm: aarch64: Fix _vector_end symbol placement
This commit relocates the `_vector_end` symbol that was previously placed after the OpenOCD sections to before these sections, as the OpenOCD debug sections are not part of the "vector table." Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent c4cb841 commit f2e2b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/arch/arm/aarch64/scripts/linker.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ SECTIONS
132132

133133
KEEP(*(.vectors))
134134

135+
_vector_end = .;
136+
135137
KEEP(*(.openocd_dbg))
136138
KEEP(*(".openocd_dbg.*"))
137-
138-
_vector_end = .;
139139
} GROUP_LINK_IN(ROMABLE_REGION)
140140

141141
#ifdef CONFIG_CODE_DATA_RELOCATION

0 commit comments

Comments
 (0)