old-MTGos/kernel/loader.ld
Morten Delenk 0793f6aa28
Added documentation
Added working FIRMloader
2016-08-01 18:06:46 +02:00

27 lines
No EOL
629 B
Text

ENTRY(_start)
SECTIONS
{
. = 0x200000;
kernel_start = .;
.text : {
*(.text)
}
.data : {
start_ctors = .;
KEEP(*( .init_array ));
KEEP(*(SORT_BY_INIT_PRIORITY( .init_array.* )));
*(.ctors)
end_ctors = .;
start_dtors = .;
*(.dtors)
end_dtors = .;
*(.data)
}
.rodata : {
*(.rodata)
}
.bss : {
*(.bss)
}
kernel_end = .;
}