| 1 | #objdump: -dr |
| 2 | #as: -no-expand -x |
| 3 | #source: relax1.s |
| 4 | # |
| 5 | # This test-case assumes that out-of-range errors cause relocs to |
| 6 | # be emitted, rather than errors emitted. FIXME. |
| 7 | |
| 8 | .*: file format elf64-mmix |
| 9 | |
| 10 | Disassembly of section \.text: |
| 11 | |
| 12 | 0000000000000000 <Main>: |
| 13 | 0: f0020009 jmp 80024 <l6> |
| 14 | |
| 15 | 0000000000000004 <l0>: |
| 16 | 4: f0020008 jmp 80024 <l6> |
| 17 | |
| 18 | 0000000000000008 <l1>: |
| 19 | 8: f0020007 jmp 80024 <l6> |
| 20 | |
| 21 | 000000000000000c <l01>: |
| 22 | c: f0020006 jmp 80024 <l6> |
| 23 | 10: f407ffff geta \$7,4000c <nearfar1> |
| 24 | 14: f2bfffff pushj \$191,40010 <nearfar2> |
| 25 | |
| 26 | 0000000000000018 <l2>: |
| 27 | 18: f000fffe jmp 40010 <nearfar2> |
| 28 | \.\.\. |
| 29 | 40004: 4d480000 bnp \$72,4 <l0> |
| 30 | 40008: f5040000 geta \$4,8 <l1> |
| 31 | |
| 32 | 000000000004000c <nearfar1>: |
| 33 | 4000c: f3050000 pushj \$5,c <l01> |
| 34 | |
| 35 | 0000000000040010 <nearfar2>: |
| 36 | 40010: f4090000 geta \$9,40010 <nearfar2> |
| 37 | 40010: R_MMIX_ADDR19 \.text\+0x8 |
| 38 | 40014: f20b0000 pushj \$11,40014 <nearfar2\+0x4> |
| 39 | 40014: R_MMIX_ADDR19 \.text\+0x80014 |
| 40 | |
| 41 | 0000000000040018 <l4>: |
| 42 | 40018: 4437ffff bp \$55,80014 <l3> |
| 43 | ... |
| 44 | 80010: f1fdfffe jmp 8 <l1> |
| 45 | |
| 46 | 0000000000080014 <l3>: |
| 47 | 80014: f1fdfffc jmp 4 <l0> |
| 48 | 80018: 47580000 bod \$88,40018 <l4> |
| 49 | 8001c: 46580000 bod \$88,8001c <l3\+0x8> |
| 50 | 8001c: R_MMIX_ADDR19 \.text\+0x40018 |
| 51 | 80020: f0000000 jmp 80020 <l3\+0xc> |
| 52 | 80020: R_MMIX_ADDR27 \.text\+0x4080020 |
| 53 | |
| 54 | 0000000000080024 <l6>: |
| 55 | 80024: f0ffffff jmp 4080020 <l5> |
| 56 | 80028: 436ffffb bz \$111,80014 <l3> |
| 57 | \.\.\. |
| 58 | |
| 59 | 0000000004080020 <l5>: |
| 60 | 4080020: f0000004 jmp 4080030 <l8> |
| 61 | 4080024: f1000000 jmp 80024 <l6> |
| 62 | 4080028: f0000000 jmp 4080028 <l5\+0x8> |
| 63 | 4080028: R_MMIX_ADDR27 \.text\+0x80024 |
| 64 | 408002c: 482c0000 bnn \$44,408002c <l5\+0xc> |
| 65 | 408002c: R_MMIX_ADDR19 \.text\+0x40c002c |
| 66 | |
| 67 | 0000000004080030 <l8>: |
| 68 | 4080030: 482cffff bnn \$44,40c002c <l9> |
| 69 | 4080034: f1fffffb jmp 4080020 <l5> |
| 70 | 4080038: f1fffffa jmp 4080020 <l5> |
| 71 | \.\.\. |
| 72 | |
| 73 | 00000000040c0028 <l10>: |
| 74 | 40c0028: f1fefffe jmp 4080020 <l5> |
| 75 | |
| 76 | 00000000040c002c <l9>: |
| 77 | 40c002c: f0000003 jmp 40c0038 <l11> |
| 78 | |
| 79 | 00000000040c0030 <l7>: |
| 80 | 40c0030: f3210000 pushj \$33,4080030 <l8> |
| 81 | 40c0034: f2210000 pushj \$33,40c0034 <l7\+0x4> |
| 82 | 40c0034: R_MMIX_ADDR19 \.text\+0x4080030 |
| 83 | |
| 84 | 00000000040c0038 <l11>: |
| 85 | 40c0038: f1fefffa jmp 4080020 <l5> |
| 86 | 40c003c: f1fefffd jmp 4080030 <l8> |
| 87 | \.\.\. |
| 88 | 4100038: f53d0000 geta \$61,40c0038 <l11> |
| 89 | 410003c: f4480000 geta \$72,410003c <l11\+0x40004> |
| 90 | 410003c: R_MMIX_ADDR19 \.text\+0x40c0038 |