summaryrefslogtreecommitdiff
path: root/na/arch
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-05-13 15:42:22 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-05-13 15:42:22 +0800
commitafaa25b9bd5d9e8c2e0a410eede6f30680c35d72 (patch)
treead1dc5ed6700da335049d6ca379bc70fdb10b88b /na/arch
parentc1ecb1777ac584e76a78ca41be1dcbf6d5fd9aa5 (diff)
downloadlume-afaa25b9bd5d9e8c2e0a410eede6f30680c35d72.tar.gz
lume-afaa25b9bd5d9e8c2e0a410eede6f30680c35d72.tar.xz
feat: add LZ4 decompressor implementation and update linker script
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