46f90a642a3f0e81bfe2a65a39956fb2e29943a6
[binutils-gdb.git] / gas / testsuite / gas / mips / option-pic-relax-3.d
1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS `.option picX' with relaxation 3
3 #as: -32 --relax-branch
4 #stderr: option-pic-relax-3.l
5
6 # Verify that relaxation is done according to the `.option picX' setting
7 # at the time the relevant instruction was assembled rather than at
8 # relaxation time.
9
10 .*: +file format .*mips.*
11
12 Disassembly of section \.text:
13 [0-9a-f]+ <[^>]*> 00801025 move v0,a0
14 [0-9a-f]+ <[^>]*> 08008002 j 00020008 <.*>
15 [ ]*[0-9a-f]+: R_MIPS_26 \.text
16 [0-9a-f]+ <[^>]*> 00a01825 move v1,a1
17 \.\.\.
18 [0-9a-f]+ <[^>]*> 03e00008 jr ra
19 [0-9a-f]+ <[^>]*> 00000000 nop
20 \.\.\.