old-MTGos/modules/x86/link.ld
2016-08-14 20:04:41 +02:00

29 lines
770 B
Text

ENTRY(getTable)
SECTIONS
{
. = /*0x106000;*/0;
module_start = .;
.text : {
*(.text)
*(.text.*)
start_ctors = .;
KEEP(*( .init_array ));
KEEP(*(SORT_BY_INIT_PRIORITY( .init_array.* )));
*(.ctors)
end_ctors = .;
start_dtors = .;
*(.dtors)
end_dtors = .;
*(.data)
*(.data.*)
*(.rodata)
*(.bss)
*(COMMON)
*(.plt)
*(.rel.plt)
*(.rel.dyn)
*(.got)
*(.got.plt)
}
module_end = .;
}