mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
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:
parent
a0b6fa91bf
commit
0310f47f24
@ -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"
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user