ld/testsuite/ld-mmix/mmosec1.ld
raw| 1 | OUTPUT_ARCH(mmix) |
| 2 | ENTRY(Main) |
| 3 | SECTIONS |
| 4 | { |
| 5 | .text 0x100 : |
| 6 | { *(.text); Main = _start; } |
| 7 | |
| 8 | .other 0x1000000000000000 : |
| 9 | { *(secname); *(anothersec); *(thirdsec); *(.a.fourth.section); } |
| 10 | |
| 11 | .data 0x2000000000000000 : |
| 12 | { *(.data); } |
| 13 | |
| 14 | .MMIX.reg_contents : |
| 15 | { *(.MMIX.reg_contents); } |
| 16 | } |