mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-09 16:02:08 +00:00
39 lines
362 B
Text
39 lines
362 B
Text
ENTRY(start)
|
|
|
|
SECTIONS {
|
|
. = 1M;
|
|
|
|
kernel_start = .;
|
|
|
|
.boot BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(.multiboot)
|
|
}
|
|
|
|
.rodata BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(.rodata)
|
|
}
|
|
|
|
.data BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(.data)
|
|
}
|
|
|
|
text_start = .;
|
|
|
|
.text BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(.text)
|
|
}
|
|
|
|
text_end = .;
|
|
|
|
.bss BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(COMMON)
|
|
*(.bss)
|
|
}
|
|
|
|
kernel_end = .;
|
|
}
|