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;
|
|
|
|
|
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
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
}
|
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 = .;
|
|
|
|
}
|