Commit | Line | Data |
---|---|---|
df58fc94 RS |
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 (microMIPS). | |
7 | ||
8 | .*: +file format .*mips.* | |
9 | ||
10 | Disassembly of section \.text: | |
11 | [0-9a-f]+ <[^>]*> 0c90 move a0,s0 | |
7bd374a4 | 12 | [0-9a-f]+ <[^>]*> 45a4 jrc a0 |
df58fc94 | 13 | [0-9a-f]+ <[^>]*> 4584 jr a0 |
2b0c8b40 | 14 | [0-9a-f]+ <[^>]*> 0ff0 move ra,s0 |
df58fc94 | 15 | [0-9a-f]+ <[^>]*> 459f jr ra |
2b0c8b40 | 16 | [0-9a-f]+ <[^>]*> 0c90 move a0,s0 |
df58fc94 | 17 | [0-9a-f]+ <[^>]*> 0ff0 move ra,s0 |
7bd374a4 | 18 | [0-9a-f]+ <[^>]*> 45bf jrc ra |
df58fc94 RS |
19 | [0-9a-f]+ <[^>]*> 0c90 move a0,s0 |
20 | [0-9a-f]+ <[^>]*> 45c4 jalr a0 | |
21 | [0-9a-f]+ <[^>]*> 0000 0000 nop | |
22 | [0-9a-f]+ <[^>]*> 0ff0 move ra,s0 | |
23 | [0-9a-f]+ <[^>]*> 45c4 jalr a0 | |
24 | [0-9a-f]+ <[^>]*> 0000 0000 nop | |
25 | [0-9a-f]+ <[^>]*> 0c90 move a0,s0 | |
26 | [0-9a-f]+ <[^>]*> f400 0000 jal 0+0000 <foo> | |
27 | [ ]*[0-9a-f]+: R_MICROMIPS_26_S1 bar | |
28 | [0-9a-f]+ <[^>]*> 0000 0000 nop | |
29 | [0-9a-f]+ <[^>]*> 0ff0 move ra,s0 | |
30 | [0-9a-f]+ <[^>]*> f400 0000 jal 0+0000 <foo> | |
31 | [ ]*[0-9a-f]+: R_MICROMIPS_26_S1 bar | |
32 | [0-9a-f]+ <[^>]*> 0000 0000 nop | |
33 | \.\.\. |