This commit is contained in:
nub31
2025-09-07 01:27:22 +02:00
parent ff12b6abf2
commit dd3dbc3ab1
3 changed files with 19 additions and 9 deletions

View File

@@ -3,29 +3,28 @@ ENTRY(_start)
SECTIONS
{
. = 2M;
kernel_start = .;
.text BLOCK(4K) : ALIGN(4K)
.text :
{
*(.multiboot)
*(.text)
}
.rodata BLOCK(4K) : ALIGN(4K)
.rodata :
{
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
.data :
{
*(.data)
}
.bss BLOCK(4K) : ALIGN(4K)
.bss :
{
*(COMMON)
*(.bss)
}
kernel_end = .;
}
}