Skip to content

Commit 06a1b39

Browse files
committed
fix(linker): add padding section to linker
Signed-off-by: Daniel Oliveira <[email protected]>
1 parent 504bce1 commit 06a1b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/linker.ld

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ SECTIONS
5656
_ipi_cpumsg_handlers_id_end = .;
5757
}
5858

59-
. = ALIGN(PAGE_SIZE);
59+
.pad_load : {
60+
/* This section pads the load size of the image to be multiple of PAGE_SIZE */
61+
. = ALIGN(PAGE_SIZE);
62+
}
63+
6064
_image_load_end = .;
6165
#ifdef MEM_NON_UNIFIED
6266
/* Save the current location counter (VMA) and switch to LMA for .vm_images */

0 commit comments

Comments
 (0)