old-MTGos/kernel/loader-x86_64-9.ld

28 lines
655 B
Text
Raw Normal View History

2016-08-05 20:03:14 +00:00
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)
*(COMMON)
}
kernel_end = .;
}