1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00
kernel/arch/linker.ld

30 lines
354 B
Text
Raw Normal View History

2017-11-01 00:43:42 -04:00
ENTRY(_start)
SECTIONS
{
. = 1M;
.text BLOCK(4K) : ALIGN(4K)
{
2017-11-01 04:53:27 -04:00
*(.multiboot2)
*(.multiboot1)
2017-11-01 00:43:42 -04:00
*(.text)
}
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
}
}