Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mips / branch-misc-4-64.d
1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-4-64
3 #as: -64
4 #source: branch-misc-4.s
5
6 # Verify PC-relative relocations do not overflow.
7
8 .*: +file format .*mips.*
9
10 Disassembly of section \.text:
11         \.\.\.
12 [0-9a-f]+ <[^>]*> 10000000      b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
13 [       ]*[0-9a-f]+: R_MIPS_PC16        bar\+0xf+fffc
14 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
15 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
16 [0-9a-f]+ <[^>]*> 00000000      nop
17 [0-9a-f]+ <[^>]*> 10000000      b       [0-9a-f]+ <foo\+0x[0-9a-f]+>
18 [       ]*[0-9a-f]+: R_MIPS_PC16        \.init\+0x4
19 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0x4
20 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0x4
21 [0-9a-f]+ <[^>]*> 00000000      nop
22         \.\.\.
23
24 Disassembly of section \.init:
25 [0-9a-f]+ <[^>]*> 10000000      b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
26 [       ]*[0-9a-f]+: R_MIPS_PC16        foo\+0xf+fffc
27 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
28 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0xf+fffc
29 [0-9a-f]+ <[^>]*> 00000000      nop
30 [0-9a-f]+ <[^>]*> 10000000      b       [0-9a-f]+ <bar\+0x[0-9a-f]+>
31 [       ]*[0-9a-f]+: R_MIPS_PC16        \.text\+0x40004
32 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0x40004
33 [       ]*[0-9a-f]+: R_MIPS_NONE        \*ABS\*\+0x40004
34 [0-9a-f]+ <[^>]*> 00000000      nop
35         \.\.\.