1 OUTPUT_ARCH(mips) 2 ENTRY(_start) 3 4 SECTIONS 5 { 6 /* Program memory section. */ 7 8 . = 0x81c00000; 9 10 _payload_start = ABSOLUTE(.); 11 _shared_start = ABSOLUTE(.); 12 13 .text2 : { *(.text*) } 14 15 . = ALIGN(4); 16 .rodata : { *(.rodata*) } 17 18 . = ALIGN(4); 19 .sdata : { *(.sdata*) } 20 21 . = ALIGN(4); 22 .data : { *(.data*) *(.scommon*) *(.reginfo*) } 23 24 _shared_end = ABSOLUTE(.); 25 26 . = ALIGN(4); 27 28 _bss_start = ABSOLUTE(.); 29 30 .sbss : { *(.sbss*) } 31 .bss : { *(.bss*) } 32 . = ALIGN (4); 33 34 _bss_end = ABSOLUTE(.); 35 36 /* The global object table. */ 37 38 .got : ALIGN(4096) { 39 _gp = ALIGN(16); 40 _got_start = ABSOLUTE(.); 41 *(.got*) 42 } 43 _got_end = ABSOLUTE(.); 44 45 /* The relocated copy of the global object table. */ 46 47 .got_copy : ALIGN(4096) { 48 _got_copy_start = ABSOLUTE(.); 49 . += _got_end - _got_start - 1; 50 } 51 _got_copy_end = ABSOLUTE(.); 52 _payload_end = ABSOLUTE(.); 53 }