ladybird/Kernel/linker.ld
supercomputer7 c3c905aa6c Kernel: Removing hardcoded offsets from Memory Manager
Now the kernel page directory and the page tables are located at a
safe address, to prevent from paging data colliding with garbage.
2019-11-08 17:38:23 +01:00

35 lines
377 B
Text

ENTRY(start)
SECTIONS
{
. = 0x100000;
.text BLOCK(4K) : ALIGN(4K)
{
Arch/i386/Boot/boot.ao
*(.multiboot)
*(.page_tables)
*(.text)
*(.text.startup)
}
.rodata BLOCK(4K) : ALIGN(4K)
{
start_ctors = .;
*(.ctors)
end_ctors = .;
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
}