merge from gcc
[external/binutils.git] / ld / testsuite / ld-mmix / pushjs3b.d
1 #source: start4.s
2 #source: nop123.s
3 #source: a.s
4 #source: pad2p26m32.s
5 #source: pad16.s
6 #source: pushja.s
7 #source: start.s
8 #ld: -m elf64mmix
9 #objdump: -dr
10
11 # Check that PUSHJ with an offset just inside the offset range of a JMP
12 # stub expansion works, backwards, ELF version.
13
14 .*:     file format elf64-mmix
15 Disassembly of section \.init:
16 0+ <_start>:
17    0:   e37704a6        setl \$119,0x4a6
18 Disassembly of section \.text:
19 0+4 <a-0x4>:
20        4:       fd010203        swym 1,2,3
21 0+8 <a>:
22        8:       e3fd0004        setl \$253,0x4
23         \.\.\.
24 0+3fffffc <pushja>:
25  3fffffc:       e3fd0002        setl \$253,0x2
26  4000000:       f20c0002        pushj \$12,4000008 <pushja\+0xc>
27  4000004:       e3fd0003        setl \$253,0x3
28  4000008:       f1000000        jmp 8 <a>
29 0+400000c <_start>:
30  400000c:       e3fd0001        setl \$253,0x1