chore: update Makefile and linker

This commit is contained in:
dualfroz committed 2026-09-01 16:32:03 +02:00
1 parent 3dc51d6022
commit ece1767ac9
2 files changed
+180 -5

No files matched your search

+5
View File
@@ -19,6 +19,7 @@ SECTIONS
{
*(.multiboot)
*(.boot.text)
*(.boot.data)
. = ALIGN(4096);
*(.boot.pagetables)
} :boot
@@ -33,6 +34,10 @@ SECTIONS
.rodata ALIGN(4096) : AT(ADDR(.rodata) - KERNEL_VMA)
{
*(.rodata .rodata.*)
. = ALIGN(8);
ktestArrayStart = .;
KEEP(*(.ktests .ktests.*))
ktestArrayEnd = .;
} :rodata
.data ALIGN(4096) : AT(ADDR(.data) - KERNEL_VMA)