ENTRY(_start)
SECTIONS {
. = 0x80000400;
__boot_start = .;
.boot : {
*(.boot)
. = ALIGN(16);
}
.text : {
*(.text .text.*)
. = ALIGN(16);
}
.rodata : {
*(.rodata .rodata.*)
. = ALIGN(16);
}
.data : {
*(.data .data.*)
. = ALIGN(16);
}
.bss : {
__bss_start = .;
*(.bss .bss.*)
. = ALIGN(16);
__bss_end = .;
}
__rom_end = . - __boot_start + 0xB0001000;
/DISCARD/ : {
*(.MIPS.*)
*(.comment)
*(.mdebug.*)
*(.pdr)
*(.reginfo)
/*
* We may need the global offset table some day.
* Our target is currently set with a static relocation-model, so this
* might not be needed after all.
*/
*(.got)
}
}