2016-02-24 | Paul Boddie | raw annotate files changeset graph | Switched to position-independent code to enable user mode execution. | stage2-non-pic |
1 OUTPUT_ARCH(mips) 2 ENTRY(_start) 3 4 SECTIONS 5 { 6 /* Program memory section. */ 7 8 . = 0x81c00000; 9 .text2 : { *(.text*) } 10 11 . = ALIGN(4); 12 .rodata : { *(.rodata*) } 13 14 . = ALIGN(4); 15 .sdata : { *(.sdata*) } 16 17 . = ALIGN(4); 18 .data : { *(.data*) *(.scommon*) *(.reginfo*) } 19 20 _gp = ALIGN(16); 21 22 _got_start = ABSOLUTE(.); 23 .got : { *(.got*) } 24 _got_end = ABSOLUTE(.); 25 26 . = ALIGN(4); 27 .sbss : { *(.sbss*) } 28 .bss : { *(.bss*) } 29 . = ALIGN (4); 30 } 31