1 #source: greg-1.s 2 #source: gregget1.s 3 #source: start.s 4 #source: a.s 5 #as: -x 6 #ld: -m elf64mmix 7 #objdump: -dt 8 9 # A greg usage with an expanding insn. The register reloc must be 10 # evaluated before the expanding reloc. Here, it doesn't appear in the 11 # wrong order, and it doesn't seem like they would naturally appear in the 12 # wrong order, but anyway. 13 14 .*: file format elf64-mmix 15 16 SYMBOL TABLE: 17 0+ l d \.text 0+ (|\.text) 18 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) 19 #... 20 0+10 g \.text 0+ _start 21 0+fe g \*REG\* 0+ areg 22 #... 23 0+14 g \.text 0+ a 24 25 Disassembly of section \.text: 26 27 0+ <_start-0x10>: 28 0: e3fe0014 setl \$254,0x14 29 4: e6fe0000 incml \$254,0x0 30 8: e5fe0000 incmh \$254,0x0 31 c: e4fe0000 inch \$254,0x0 32 33 0+10 <_start>: 34 10: e3fd0001 setl \$253,0x1 35 36 0+14 <a>: 37 14: e3fd0004 setl \$253,0x4 38