Set max-page-size for linking bootstrap

Without this the virtual addresses will not match the file offsets for
the final initfs blob on AArch64 as there it will align to 64k by
default.
This commit is contained in:
bjorn3 2024-03-15 13:40:54 +01:00
parent a0b6fa91bf
commit 0310f47f24

View File

@ -19,5 +19,6 @@ mkdir -v "${COOKBOOK_STAGE}/boot"
-o "${COOKBOOK_STAGE}/boot/bootstrap" \
--gc-sections \
-T "${COOKBOOK_SOURCE}/src/${ARCH}.ld" \
-z max-page-size=4096 \
"${COOKBOOK_BUILD}/${TARGET}/release/libbootstrap.a"
"""