ladybird/Kernel/linker.ld

42 lines
678 B
Plaintext
Raw Normal View History

ENTRY(start)
SECTIONS
{
2020-01-16 11:46:09 +03:00
. = 0x100000;
2020-01-16 11:46:09 +03:00
.text BLOCK(4K) : ALIGN(4K)
{
Arch/i386/Boot/boot.ao
2020-01-16 11:46:09 +03:00
*(.multiboot)
*(.page_tables)
start_of_kernel_text = .;
2020-01-16 11:46:09 +03:00
*(.text)
*(.text.startup)
end_of_kernel_text = .;
2020-01-16 11:46:09 +03:00
}
2020-01-16 11:46:09 +03:00
.rodata BLOCK(4K) : ALIGN(4K)
{
start_ctors = .;
*(.ctors)
end_ctors = .;
2020-01-16 11:46:09 +03:00
*(.rodata)
}
2020-01-16 11:46:09 +03:00
.data BLOCK(4K) : ALIGN(4K)
{
start_of_kernel_data = .;
2020-01-16 11:46:09 +03:00
*(.data)
end_of_kernel_data = .;
2020-01-16 11:46:09 +03:00
}
2020-01-16 11:46:09 +03:00
.bss BLOCK(4K) : ALIGN(4K)
{
start_of_kernel_bss = .;
2020-01-16 11:46:09 +03:00
*(COMMON)
*(.bss)
end_of_kernel_bss = .;
2020-01-16 11:46:09 +03:00
}
}