corn/src/arch/amd64/linker.ld

26 lines
294 B
Text
Raw Normal View History

2024-01-27 03:29:49 +00:00
ENTRY(start)
SECTIONS {
. = 1M;
.boot BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
}
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
.text BLOCK(4K) : ALIGN(4K)
{
*(.text)
}
.bss BLOCK(4K) : ALIGN(4K)
{
*(.bss)
}
}