old-MTGos-old/user/test-3ds.ld
2016-06-28 11:32:24 +02:00

28 lines
426 B
Text

ENTRY(_start)
OUTPUT_FORMAT(elf32-littlearm)
SECTIONS
{
. = 0x20000000;
.text : {
*(.text)
}
.data ALIGN(4096) : {
start_ctors = .;
KEEP(*( .init_array ));
KEEP(*(SORT_BY_INIT_PRIORITY( .init_array.* )));
*(.ctors)
end_ctors = .;
start_dtors = .;
*(.dtors)
end_dtors = .;
*(.data)
*(.got)
}
.rodata ALIGN(4096) : {
*(.rodata)
}
.bss ALIGN(4096) : {
*(.bss)
}
. = ALIGN(4096);
}