bond/x64/linker.ld
secXsQuared e53e396556 [RUNNING] Structural and boot change:
1. Changed to multiboot2 complaint
2. Separated modules (hal, kernel, test, common)
3. Rewrite makefile/linker script/ grub.cfg to adapt changes.
2016-06-04 02:41:56 -07:00

30 lines
290 B
Plaintext

OUTPUT_FORMAT(binary)
SECTIONS
{
. = 0x1000000;
kernel_start = .;
.entry : ALIGN(0x1000)
{
*(.entry)
}
.text : ALIGN(0x1000)
{
*(.text)
}
.data : ALIGN(0x1000)
{
*(.data)
*(.rodata)
}
.bss : ALIGN(0x1000)
{
*(.bss)
}
kernel_end = .;
}