limine/linker.ld
2019-05-31 07:19:02 +02:00

21 lines
270 B
Plaintext

OUTPUT_FORMAT(binary)
ENTRY(main)
SECTIONS
{
. = 0x8000;
.text : {
bootsect_begin = .;
KEEP(*(.entry*))
KEEP(*(.text*))
}
.data : {
KEEP(*(.data*))
KEEP(*(.bss*))
. += 7168 - (. - bootsect_begin);
}
}