2021-11-10 09:34:19 +03:00
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS {
|
2022-06-29 13:32:50 +03:00
|
|
|
. = 0x10000;
|
2021-11-10 09:34:19 +03:00
|
|
|
|
|
|
|
.boot :
|
|
|
|
{
|
|
|
|
/* Ensure that the multiboot header is at the beginning! */
|
|
|
|
*(.multiboot_header)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*(.text .text.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data .data.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
*(.bss .bss.*)
|
|
|
|
}
|
|
|
|
}
|