thor-os/programs/linker.ld
2014-01-27 08:16:56 +01:00

29 lines
296 B
Plaintext

ENTRY(main)
SECTIONS {
. = 0x8000400000;
.text BLOCK(4096) : ALIGN(4096)
{
*(.text)
*(.text*)
}
. = 0x8000600000;
.data BLOCK(4096) : ALIGN(4096)
{
*(.data)
}
.rodata BLOCK(4096) : ALIGN(4096)
{
*(.rodata)
*(.rodata*)
}
.bss BLOCK(4096) : ALIGN(4096)
{
*(.bss)
}
}