paul@6 | 1 | OUTPUT_ARCH(mips) |
paul@6 | 2 | ENTRY(_start) |
paul@6 | 3 | |
paul@6 | 4 | SECTIONS |
paul@6 | 5 | { |
paul@66 | 6 | /* Program memory section. */ |
paul@66 | 7 | |
paul@89 | 8 | . = 0x81c00000; |
paul@66 | 9 | .text2 : { *(.text*) } |
paul@6 | 10 | |
paul@6 | 11 | . = ALIGN(4); |
paul@66 | 12 | .rodata : { *(.rodata*) } |
paul@6 | 13 | |
paul@6 | 14 | . = ALIGN(4); |
paul@66 | 15 | .sdata : { *(.sdata*) } |
paul@6 | 16 | |
paul@6 | 17 | . = ALIGN(4); |
paul@66 | 18 | .data : { *(.data*) *(.scommon*) *(.reginfo*) } |
paul@6 | 19 | |
paul@176 | 20 | .got : ALIGN(4096) { |
paul@176 | 21 | _gp = ALIGN(16); |
paul@176 | 22 | _got_start = ABSOLUTE(.); |
paul@176 | 23 | *(.got*) |
paul@176 | 24 | } |
paul@6 | 25 | _got_end = ABSOLUTE(.); |
paul@6 | 26 | |
paul@176 | 27 | .got_copy : ALIGN(4096) { |
paul@176 | 28 | _gp_copy = ALIGN(16); |
paul@176 | 29 | _got_copy_start = ABSOLUTE(.); |
paul@176 | 30 | . += _got_end - _got_start; |
paul@176 | 31 | } |
paul@128 | 32 | _got_copy_end = ABSOLUTE(.); |
paul@128 | 33 | |
paul@6 | 34 | . = ALIGN(4); |
paul@66 | 35 | .sbss : { *(.sbss*) } |
paul@66 | 36 | .bss : { *(.bss*) } |
paul@6 | 37 | . = ALIGN (4); |
paul@6 | 38 | } |
paul@6 | 39 | |