summaryrefslogtreecommitdiff
path: root/na/arch
diff options
context:
space:
mode:
Diffstat (limited to 'na/arch')
-rw-r--r--na/arch/riscv/kernel/lumeos.lds.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/na/arch/riscv/kernel/lumeos.lds.S b/na/arch/riscv/kernel/lumeos.lds.S
index f47fef2..ca5218f 100644
--- a/na/arch/riscv/kernel/lumeos.lds.S
+++ b/na/arch/riscv/kernel/lumeos.lds.S
@@ -69,10 +69,17 @@ SECTIONS {
. = ALIGN(4096);
+ RELOC_SECTION
+
+ . = ALIGN(4096);
+
DATA_SECTION
. = ALIGN(4096);
+ /* End of file-backed image (BSS follows as NOBITS) */
+ __lume_image_end = .;
+
BSS_SECTION
KERNEL_END