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 (MIPS16e). 7 8.*: +file format .*mips.* 9 10Disassembly of section \.text: 11[0-9a-f]+ <[^>]*> 6790 move a0,s0 12[0-9a-f]+ <[^>]*> ec80 jrc a0 13[0-9a-f]+ <[^>]*> ec00 jr a0 14[0-9a-f]+ <[^>]*> 65f8 move ra,s0 15[0-9a-f]+ <[^>]*> e820 jr ra 16[0-9a-f]+ <[^>]*> 6790 move a0,s0 17[0-9a-f]+ <[^>]*> 65f8 move ra,s0 18[0-9a-f]+ <[^>]*> e8a0 jrc ra 19[0-9a-f]+ <[^>]*> 6790 move a0,s0 20[0-9a-f]+ <[^>]*> ecc0 jalrc a0 21[0-9a-f]+ <[^>]*> 65f8 move ra,s0 22[0-9a-f]+ <[^>]*> ecc0 jalrc a0 23[0-9a-f]+ <[^>]*> 1800 0000 jal 0+0000 <foo> 24[ ]*[0-9a-f]+: R_MIPS16_26 bar 25[0-9a-f]+ <[^>]*> 6790 move a0,s0 26[0-9a-f]+ <[^>]*> 65f8 move ra,s0 27[0-9a-f]+ <[^>]*> 1800 0000 jal 0+0000 <foo> 28[ ]*[0-9a-f]+: R_MIPS16_26 bar 29[0-9a-f]+ <[^>]*> 6500 nop 30 \.\.\. 31