bond/OScript/multiboot1/link.ld
HyperAssembler b6c999753f 1. Refactored kernel calling convention.
2. Linker script for kernel.
2. Updated mkiso script to link C with nasm and build a runable multiboot1 iso.
2015-01-25 02:26:52 -08:00

30 lines
245 B
Plaintext

OUTPUT_FORMAT("binary")
INPUT
(
multiboot.o
entry.o
)
OUTPUT(kernel.bin)
SECTIONS
{
.text.start (0x1000000):
{
multiboot.o(.multiboot)
}
.text :
{
*(.text)
}
.data :
{
*(.data)
}
.bss :
{
*(.bss)
}
}