From 1d0592f3c62d45b1fc23e807bf8cc2274496a4f5 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr>
Date: Fri, 6 May 2022 20:31:25 +0200
Subject: [PATCH] Align all sections in kernel binary to page size

---
 kernel/linker.ld | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/linker.ld b/kernel/linker.ld
index 90292e6..59d0381 100644
--- a/kernel/linker.ld
+++ b/kernel/linker.ld
@@ -5,7 +5,7 @@ SECTIONS
 {
 	. = 0x100000;
 
-	.text : { *(.text) }
-	.data : { *(.data) }
-	.bss : { *(.bss) }
+	.text : ALIGN(0x1000) { *(.text) }
+	.data : ALIGN(0x1000) { *(.data) }
+	.bss : ALIGN(0x1000) { *(.bss) }
 }
-- 
2.39.5