merge from gcc
[external/binutils.git] / ld / testsuite / ld-mmix / pushjs2m.d
1 #source: nop123.s
2 #source: pushja.s
3 #source: pad2p18m32.s
4 #source: pad16.s
5 #source: pad4.s
6 #source: pad4.s
7 #source: a.s
8 #source: start.s
9 #ld: -m mmo
10 #objdump: -dr
11
12 # Check that PUSHJ with an offset just outside the PUSHJ offset range gets
13 # a JMP stub expansion, mmo version.
14
15 .*:     file format mmo
16 Disassembly of section \.text:
17 0+ <pushja-0x4>:
18        0:       fd010203        swym 1,2,3
19 0+4 <pushja>:
20        4:       e3fd0002        setl \$253,0x2
21        8:       f20c0002        pushj \$12,10 <pushja\+0xc>
22        c:       e3fd0003        setl \$253,0x3
23       10:       f000ffff        jmp 4000c <a>
24         \.\.\.
25 0+4000c <a>:
26    4000c:       e3fd0004        setl \$253,0x4
27 0+40010 <Main>:
28    40010:       e3fd0001        setl \$253,0x1