1 #source: greg-1.s 2 #source: gregget1.s 3 #source: start.s 4 #source: a.s 5 #as: -x 6 #ld: -m mmo 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; mmo. 13 14 .*: file format mmo 15 16 SYMBOL TABLE: 17 0+10 g \.text Main 18 0+10 g \.text _start 19 0+fe g \*REG\* areg 20 0+14 g \.text a 21 22 Disassembly of section \.text: 23 24 0+ <(Main|_start)-0x10>: 25 0: e3fe0014 setl areg,0x14 26 4: e6fe0000 incml areg,0x0 27 8: e5fe0000 incmh areg,0x0 28 c: e4fe0000 inch areg,0x0 29 30 0+10 <(Main|_start)>: 31 10: e3fd0001 setl \$253,0x1 32 33 0+14 <a>: 34 14: e3fd0004 setl \$253,0x4 35