Add MMIX support
[external/binutils.git] / ld / testsuite / ld-mmix / greg-3.d
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+ 
18 2000000000000000 l    d  .data  0+ 
19 2000000000000000 l    d  .sbss  0+ 
20 2000000000000000 l    d  .bss   0+ 
21 0+7f0 l    d  \.MMIX\.reg_contents      0+ 
22 0+ l    d  \*ABS\*      0+ 
23 0+ l    d  \*ABS\*      0+ 
24 0+ l    d  \*ABS\*      0+ 
25 0+10 g       \.text     0+ _start
26 0+fe g       \*REG\*    0+ areg
27 2000000000000000 g     O \*ABS\*        0+ __bss_start
28 2000000000000000 g     O \*ABS\*        0+ _edata
29 2000000000000000 g     O \*ABS\*        0+ _end
30 0+10 g     O \.text     0+ _start\.
31 0+14 g       \.text     0+ a
32
33 Disassembly of section \.text:
34
35 0+ <_start-0x10>:
36    0:   e3fe0014        setl \$254,0x14
37    4:   e6fe0000        incml \$254,0x0
38    8:   e5fe0000        incmh \$254,0x0
39    c:   e4fe0000        inch \$254,0x0
40
41 0+10 <_start>:
42   10:   e3fd0001        setl \$253,0x1
43
44 0+14 <a>:
45   14:   e3fd0004        setl \$253,0x4