2001-10-30 15:20:14 +00:00
|
|
|
#source: greg-1.s
|
|
|
|
#source: gregldo1.s
|
|
|
|
#source: start.s
|
|
|
|
#ld: -m elf64mmix
|
|
|
|
#objdump: -dt
|
|
|
|
|
|
|
|
# Most simple greg usage: relocate to each possible location within an
|
|
|
|
# insn.
|
|
|
|
|
|
|
|
.*: file format elf64-mmix
|
|
|
|
|
|
|
|
SYMBOL TABLE:
|
2004-12-11 04:32:37 +00:00
|
|
|
0+ l d \.text 0+ (|\.text)
|
|
|
|
0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents)
|
2001-10-30 15:20:14 +00:00
|
|
|
0+c g \.text 0+ _start
|
|
|
|
0+fe g \*REG\* 0+ areg
|
* ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
longer set to object.
* ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
2002-03-19 22:48:15 +00:00
|
|
|
#...
|
2001-10-30 15:20:14 +00:00
|
|
|
|
|
|
|
Disassembly of section \.text:
|
|
|
|
|
|
|
|
0+ <_start-0xc>:
|
|
|
|
0: 8c0c20fe ldo \$12,\$32,\$254
|
|
|
|
4: 8d7bfe22 ldo \$123,\$254,34
|
|
|
|
8: 8dfeea38 ldo \$254,\$234,56
|
|
|
|
|
|
|
|
0+c <_start>:
|
|
|
|
c: e3fd0001 setl \$253,0x1
|