1 1.1 igy OUTPUT_FORMAT("elf32-littlemips") 2 1.1 igy OUTPUT_ARCH(mips) 3 1.1 igy ENTRY(start) 4 1.1 igy SECTIONS 5 1.1 igy { 6 1.1 igy /* Read-only sections, merged into text segment. Assumes the 7 1.1 igy kernel Makefile sets the start address via -Ttext. */ 8 1.1 igy . = 0x80000000; 9 1.1 igy .text : 10 1.1 igy { 11 1.1 igy _ftext = . ; 12 1.1 igy *(.text) 13 1.1 igy *(.gnu.warning) 14 1.1 igy } =0 15 1.1 igy _etext = .; 16 1.1 igy PROVIDE (etext = .); 17 1.1 igy .rodata : { *(.rodata) } 18 1.1 igy .data : 19 1.1 igy { 20 1.1 igy _fdata = . ; 21 1.1 igy *(.data) 22 1.1 igy CONSTRUCTORS 23 1.1 igy } 24 1.1 igy _gp = ALIGN(16); 25 1.1 igy .lit8 : { *(.lit8) } 26 1.1 igy .lit4 : { *(.lit4) } 27 1.1 igy .sdata : { *(.sdata) } 28 1.1 igy _edata = .; 29 1.1 igy PROVIDE (edata = .); 30 1.1 igy __bss_start = .; 31 1.1 igy _fbss = .; 32 1.1 igy .sbss : { *(.sbss) *(.scommon) } 33 1.1 igy .bss : 34 1.1 igy { 35 1.1 igy *(.bss) 36 1.1 igy *(COMMON) 37 1.1 igy } 38 1.1 igy _end = . ; 39 1.1 igy PROVIDE (end = .); 40 1.1 igy /* These are needed for ELF backends which have not yet been 41 1.1 igy converted to the new style linker. */ 42 1.1 igy .stab 0 : { *(.stab) } 43 1.1 igy .stabstr 0 : { *(.stabstr) } 44 1.1 igy /* These must appear regardless of . */ 45 1.1 igy .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } 46 1.1 igy .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } 47 1.1 igy } 48