port clipper to boot using grub

This commit is contained in:
Robert 2023-09-03 20:11:33 +02:00
parent 040e083658
commit 7adc0c7ce1
7 changed files with 104 additions and 239 deletions

28
linker.ld Normal file
View file

@ -0,0 +1,28 @@
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)
}
}