2023-01-10 17:50:24 +02:00
|
|
|
ENTRY (_start)
|
|
|
|
|
2022-11-12 21:04:47 +02:00
|
|
|
SECTIONS
|
|
|
|
{
|
2023-01-10 17:50:24 +02:00
|
|
|
. = 0x00100000;
|
|
|
|
|
2023-04-21 10:40:24 +03:00
|
|
|
g_kernel_start = .;
|
2022-11-15 00:32:07 +02:00
|
|
|
.text BLOCK(4K) : ALIGN(4K)
|
2022-11-12 21:04:47 +02:00
|
|
|
{
|
2022-11-15 00:32:07 +02:00
|
|
|
*(.multiboot)
|
2022-11-12 21:04:47 +02:00
|
|
|
*(.text)
|
|
|
|
}
|
2022-11-15 00:32:07 +02:00
|
|
|
.rodata BLOCK(4K) : ALIGN(4K)
|
2022-11-12 21:04:47 +02:00
|
|
|
{
|
2023-03-13 15:32:46 +02:00
|
|
|
*(.rodata.*)
|
2022-11-12 21:04:47 +02:00
|
|
|
}
|
2022-11-15 00:32:07 +02:00
|
|
|
.data BLOCK(4K) : ALIGN(4K)
|
2022-11-12 21:04:47 +02:00
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
}
|
2022-11-15 00:32:07 +02:00
|
|
|
.bss BLOCK(4K) : ALIGN(4K)
|
2022-11-12 21:04:47 +02:00
|
|
|
{
|
|
|
|
*(COMMON)
|
|
|
|
*(.bss)
|
|
|
|
}
|
2023-01-10 17:50:24 +02:00
|
|
|
|
|
|
|
g_kernel_end = .;
|
2024-01-24 14:43:46 +02:00
|
|
|
}
|