diff --git a/recipes/core/kernel/recipe.toml b/recipes/core/kernel/recipe.toml index 69794d4d7b500a3b9c4526a5ba1ae9cdf670ba29..089e16b62860ba9d853286d05194a6ee2314e2f9 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 \