From d163847ae742cfd2c0e5299b348db577cc95c239 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:15:25 +0100 Subject: [PATCH] Move -z max-page-size from the target spec to the cookbook --- recipes/core/kernel/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/core/kernel/recipe.toml b/recipes/core/kernel/recipe.toml index 69794d4d7..089e16b62 100644 --- a/recipes/core/kernel/recipe.toml +++ b/recipes/core/kernel/recipe.toml @@ -15,6 +15,7 @@ cargo rustc \ -- \ -C soft-float \ -C link-arg=-T -Clink-arg="${COOKBOOK_SOURCE}/linkers/${ARCH}.ld" \ + -C link-arg=-z -Clink-arg=max-page-size=0x1000 \ --emit link="${PWD}/kernel.all" "${TARGET}-objcopy" \ --only-keep-debug \ -- GitLab