| 1 |
#source: greg-1.s |
| 2 |
#source: gregldo1.s |
| 3 |
#source: start.s |
| 4 |
#ld: -m elf64mmix |
| 5 |
#objdump: -dt |
| 6 |
|
| 7 |
# Most simple greg usage: relocate to each possible location within an |
| 8 |
# insn. |
| 9 |
|
| 10 |
.*: file format elf64-mmix |
| 11 |
|
| 12 |
SYMBOL TABLE: |
| 13 |
0+ l d \.text 0+ (|\.text) |
| 14 |
2000000000000000 l d \.data 0+ (|\.data) |
| 15 |
2000000000000000 l d \.sbss 0+ (|\.sbss) |
| 16 |
2000000000000000 l d \.bss 0+ (|\.bss) |
| 17 |
0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) |
| 18 |
0+ l d \*ABS\* 0+ (|\.shstrtab) |
| 19 |
0+ l d \*ABS\* 0+ (|\.symtab) |
| 20 |
0+ l d \*ABS\* 0+ (|\.strtab) |
| 21 |
0+c g \.text 0+ _start |
| 22 |
0+fe g \*REG\* 0+ areg |
| 23 |
#... |
| 24 |
|
| 25 |
Disassembly of section \.text: |
| 26 |
|
| 27 |
0+ <_start-0xc>: |
| 28 |
0: 8c0c20fe ldo \$12,\$32,\$254 |
| 29 |
4: 8d7bfe22 ldo \$123,\$254,34 |
| 30 |
8: 8dfeea38 ldo \$254,\$234,56 |
| 31 |
|
| 32 |
0+c <_start>: |
| 33 |
c: e3fd0001 setl \$253,0x1 |