2021-11-10 09:34:19 +03:00
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS {
|
2022-09-05 03:17:53 +03:00
|
|
|
. = 1M;
|
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 :
|
|
|
|
{
|
2022-09-05 03:17:53 +03:00
|
|
|
*(.rodata .rodata.*)
|
2021-11-10 09:34:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data .data.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4K);
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
*(.bss .bss.*)
|
|
|
|
}
|
|
|
|
}
|