1#objdump: -dr --prefix-addresses --show-raw-insn
2#name: MIPS16 PC-relative relaxation 1
3#as: -32 --defsym align=1
4#source: mips16-pcrel-relax-0.s
5
6# Check that PC-relative relaxation chooses the short encoding
7# where the address referred is fixed by an alignment directive
8# cf. RELAX_MIPS16_MARK_LONG_BRANCH.
9
10.*: +file format .*mips.*
11
12Disassembly of section \.text:
13	\.\.\.
14[0-9a-f]+ <[^>]*> 0a02      	la	v0,00001008 <foo\+0x8>
15[0-9a-f]+ <[^>]*> e820      	jr	ra
16[0-9a-f]+ <[^>]*> 6500      	nop
17[0-9a-f]+ <[^>]*> 6500      	nop
18	\.\.\.
19