Skip to content

Commit 85479d1

Browse files
carlocaionenashif
authored andcommitted
aarch64: linker: Align end symbols
The end symbols and especially z_mapped_end must be aligned to the MMU page size. Signed-off-by: Carlo Caione <[email protected]>
1 parent 8698f82 commit 85479d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ SECTIONS
294294

295295
/* Define linker symbols */
296296

297+
MMU_ALIGN;
297298
_image_ram_end = .;
298299
_end = .; /* end of image */
299300
z_mapped_end = .;

0 commit comments

Comments
 (0)