limine/linker.ld
2019-05-15 06:08:56 +02:00

22 lines
296 B
Plaintext

OUTPUT_FORMAT(binary)
ENTRY(main)
SECTIONS
{
. = 0x7c00;
.text : {
bootsect_begin = .;
KEEP(*(.early_boot*))
KEEP(*(.text*))
}
.data : {
KEEP(*(.data*))
KEEP(*(.bss*))
. += 510 - (. - bootsect_begin);
SHORT(0xaa55)
}
}