mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 15:39:55 +00:00
c3c905aa6c
Now the kernel page directory and the page tables are located at a safe address, to prevent from paging data colliding with garbage.
35 lines
377 B
Text
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)
|
|
}
|
|
}
|