1 OUTPUT_ARCH(mips) 2 ENTRY(_start) 3 MEMORY 4 { 5 ram : ORIGIN = 0x80002000 , LENGTH = 0x100000 6 } 7 8 SECTIONS 9 { 10 . = ALIGN(4); 11 .text : { *(.text*) } > ram 12 13 . = ALIGN(4); 14 .rodata : { *(.rodata*) } > ram 15 16 . = ALIGN(4); 17 .sdata : { *(.sdata*) } > ram 18 19 . = ALIGN(4); 20 .data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram 21 22 _gp = ABSOLUTE(.); /* Base of small data */ 23 24 .got : { *(.got*) } > ram 25 26 . = ALIGN(4); 27 .sbss : { *(.sbss*) } > ram 28 .bss : { *(.bss*) } > ram 29 . = ALIGN (4); 30 } 31