automatic-spoon-kernel/linker.ld
Mika Westphal 7caa808d2a Init
2023-01-19 19:35:53 +01:00

27 lines
259 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ENTRY(_start)
SECTIONS
{
. = 1M;
.text BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
*(.text)
}
 
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
 
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
 
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
}