diff --git a/boards/risc-v/mpfs/icicle/scripts/kernel-space.ld b/boards/risc-v/mpfs/icicle/scripts/kernel-space.ld index ae416b79e9..c8bf774180 100644 --- a/boards/risc-v/mpfs/icicle/scripts/kernel-space.ld +++ b/boards/risc-v/mpfs/icicle/scripts/kernel-space.ld @@ -90,7 +90,7 @@ SECTIONS } > ksram /* Page tables here, align to 4K boundary */ - .pgtables : ALIGN(0x1000) { + .pgtables (NOLOAD) : ALIGN(0x1000) { *(.pgtables) . = ALIGN(32); _ebss = ABSOLUTE(.); diff --git a/boards/risc-v/mpfs/icicle/scripts/ld-kernel.script b/boards/risc-v/mpfs/icicle/scripts/ld-kernel.script index 6a5e718e93..93e67aec0a 100644 --- a/boards/risc-v/mpfs/icicle/scripts/ld-kernel.script +++ b/boards/risc-v/mpfs/icicle/scripts/ld-kernel.script @@ -97,7 +97,7 @@ SECTIONS /* Page tables here, align to 4K boundary */ - .pgtables : ALIGN(0x1000) { + .pgtables (NOLOAD) : ALIGN(0x1000) { *(.pgtables) . = ALIGN(4); } > ksram