2022-11-12 21:04:47 +02:00
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2022-11-15 00:32:07 +02:00
|
|
|
. = 1M;
|
2022-11-12 21:04:47 +02:00
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|