MIPS: Verify the ISA mode and alignment of branch and jump targets
[external/binutils.git] / gas / testsuite / gas / mips / unaligned-jump-mips16-3.d
1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS16 jump to unaligned symbol 3
3 #as: -n32 -march=from-abi
4 #source: unaligned-jump-mips16-2.s
5
6 .*: +file format .*mips.*
7
8 Disassembly of section \.text:
9         \.\.\.
10 [0-9a-f]+ <[^>]*> ea4f          not     v0
11 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
12 [       ]*[0-9a-f]+: R_MIPS16_26        bar0
13 [0-9a-f]+ <[^>]*> ea4f          not     v0
14 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
15 [       ]*[0-9a-f]+: R_MIPS16_26        bar0
16 [0-9a-f]+ <[^>]*> ea4f          not     v0
17 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
18 [       ]*[0-9a-f]+: R_MIPS16_26        bar1
19 [0-9a-f]+ <[^>]*> ea4f          not     v0
20 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
21 [       ]*[0-9a-f]+: R_MIPS16_26        bar1
22 [0-9a-f]+ <[^>]*> ea4f          not     v0
23 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
24 [       ]*[0-9a-f]+: R_MIPS16_26        bar2
25 [0-9a-f]+ <[^>]*> ea4f          not     v0
26 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
27 [       ]*[0-9a-f]+: R_MIPS16_26        bar2
28 [0-9a-f]+ <[^>]*> ea4f          not     v0
29 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
30 [       ]*[0-9a-f]+: R_MIPS16_26        bar3
31 [0-9a-f]+ <[^>]*> ea4f          not     v0
32 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
33 [       ]*[0-9a-f]+: R_MIPS16_26        bar3
34 [0-9a-f]+ <[^>]*> ea4f          not     v0
35 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
36 [       ]*[0-9a-f]+: R_MIPS16_26        bar4
37 [0-9a-f]+ <[^>]*> ea4f          not     v0
38 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
39 [       ]*[0-9a-f]+: R_MIPS16_26        bar4
40 [0-9a-f]+ <[^>]*> ea4f          not     v0
41 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
42 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x1
43 [0-9a-f]+ <[^>]*> ea4f          not     v0
44 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
45 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x1
46 [0-9a-f]+ <[^>]*> ea4f          not     v0
47 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
48 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x2
49 [0-9a-f]+ <[^>]*> ea4f          not     v0
50 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
51 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x2
52 [0-9a-f]+ <[^>]*> ea4f          not     v0
53 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
54 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x3
55 [0-9a-f]+ <[^>]*> ea4f          not     v0
56 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
57 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x3
58 [0-9a-f]+ <[^>]*> ea4f          not     v0
59 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
60 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x4
61 [0-9a-f]+ <[^>]*> ea4f          not     v0
62 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
63 [       ]*[0-9a-f]+: R_MIPS16_26        bar4\+0x4
64 [0-9a-f]+ <[^>]*> ea4f          not     v0
65 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
66 [       ]*[0-9a-f]+: R_MIPS16_26        bar16
67 [0-9a-f]+ <[^>]*> ea4f          not     v0
68 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
69 [       ]*[0-9a-f]+: R_MIPS16_26        bar16
70 [0-9a-f]+ <[^>]*> ea4f          not     v0
71 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
72 [       ]*[0-9a-f]+: R_MIPS16_26        bar17
73 [0-9a-f]+ <[^>]*> ea4f          not     v0
74 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
75 [       ]*[0-9a-f]+: R_MIPS16_26        bar17
76 [0-9a-f]+ <[^>]*> ea4f          not     v0
77 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
78 [       ]*[0-9a-f]+: R_MIPS16_26        bar18
79 [0-9a-f]+ <[^>]*> ea4f          not     v0
80 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
81 [       ]*[0-9a-f]+: R_MIPS16_26        bar18
82 [0-9a-f]+ <[^>]*> ea4f          not     v0
83 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
84 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x1
85 [0-9a-f]+ <[^>]*> ea4f          not     v0
86 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
87 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x1
88 [0-9a-f]+ <[^>]*> ea4f          not     v0
89 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
90 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x2
91 [0-9a-f]+ <[^>]*> ea4f          not     v0
92 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
93 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x2
94 [0-9a-f]+ <[^>]*> ea4f          not     v0
95 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
96 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x3
97 [0-9a-f]+ <[^>]*> ea4f          not     v0
98 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
99 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x3
100 [0-9a-f]+ <[^>]*> ea4f          not     v0
101 [0-9a-f]+ <[^>]*> 1c00 0000     jalx    00000000 <foo-0x1000>
102 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x4
103 [0-9a-f]+ <[^>]*> ea4f          not     v0
104 [0-9a-f]+ <[^>]*> 1800 0000     jal     00000000 <foo-0x1000>
105 [       ]*[0-9a-f]+: R_MIPS16_26        bar18\+0x4
106 [0-9a-f]+ <[^>]*> ea4f          not     v0
107 [0-9a-f]+ <[^>]*> e820          jr      ra
108 [0-9a-f]+ <[^>]*> ea4f          not     v0
109         \.\.\.
110         \.\.\.
111         \.\.\.
112         \.\.\.
113         \.\.\.
114         \.\.\.
115         \.\.\.
116         \.\.\.
117         \.\.\.
118         \.\.\.
119         \.\.\.
120         \.\.\.
121         \.\.\.
122         \.\.\.
123         \.\.\.
124         \.\.\.
125         \.\.\.
126         \.\.\.
127         \.\.\.
128         \.\.\.
129         \.\.\.
130         \.\.\.
131         \.\.\.
132         \.\.\.
133         \.\.\.