Commit | Line | Data |
---|---|---|
e3a82c8e MR |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: MIPS DWARF-2 location information with branch swapping disassembly | |
3 | #as: -32 | |
4 | #source: loc-swap.s | |
5 | ||
6 | # Check branch swapping with DWARF-2 location information. | |
7 | ||
8 | .*: +file format .*mips.* | |
9 | ||
10 | Disassembly of section \.text: | |
40fc1451 | 11 | [0-9a-f]+ <[^>]*> 02002025 move a0,s0 |
e3a82c8e MR |
12 | [0-9a-f]+ <[^>]*> 00800008 jr a0 |
13 | [0-9a-f]+ <[^>]*> 00000000 nop | |
14 | [0-9a-f]+ <[^>]*> 00800008 jr a0 | |
40fc1451 | 15 | [0-9a-f]+ <[^>]*> 0200f825 move ra,s0 |
e3a82c8e | 16 | [0-9a-f]+ <[^>]*> 03e00008 jr ra |
40fc1451 SD |
17 | [0-9a-f]+ <[^>]*> 02002025 move a0,s0 |
18 | [0-9a-f]+ <[^>]*> 0200f825 move ra,s0 | |
e3a82c8e MR |
19 | [0-9a-f]+ <[^>]*> 03e00008 jr ra |
20 | [0-9a-f]+ <[^>]*> 00000000 nop | |
40fc1451 | 21 | [0-9a-f]+ <[^>]*> 02002025 move a0,s0 |
e3a82c8e MR |
22 | [0-9a-f]+ <[^>]*> 0080f809 jalr a0 |
23 | [0-9a-f]+ <[^>]*> 00000000 nop | |
40fc1451 | 24 | [0-9a-f]+ <[^>]*> 0200f825 move ra,s0 |
e3a82c8e MR |
25 | [0-9a-f]+ <[^>]*> 0080f809 jalr a0 |
26 | [0-9a-f]+ <[^>]*> 00000000 nop | |
27 | [0-9a-f]+ <[^>]*> 0c000000 jal 0+0000 <foo> | |
28 | [ ]*[0-9a-f]+: R_MIPS_26 bar | |
40fc1451 SD |
29 | [0-9a-f]+ <[^>]*> 02002025 move a0,s0 |
30 | [0-9a-f]+ <[^>]*> 0200f825 move ra,s0 | |
e3a82c8e MR |
31 | [0-9a-f]+ <[^>]*> 0c000000 jal 0+0000 <foo> |
32 | [ ]*[0-9a-f]+: R_MIPS_26 bar | |
33 | [0-9a-f]+ <[^>]*> 00000000 nop | |
34 | \.\.\. |