mbr_asm/linker.ld
Mathieu Maret 523bff7fce Put 32bits code after 1sector and load it
Use makefile to build
Use ld linker script to create final bin
2017-11-24 22:41:16 +01:00

27 lines
183 B
Plaintext

ENTRY(boot)
OUTPUT_FORMAT("binary")
SECTIONS {
. = 0x7c00;
.text :
{
*(.boot)
*(.text)
}
.rodata :
{
*(.rodata)
}
.data :
{
*(.data)
}
.bss :
{
*(.bss)
}
}