]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mips/relax-offset.d
MIPS/GAS: Use non-zero frag offset directly in PIC branch relaxation
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / relax-offset.d
1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS PIC branch relaxation with offset
3 #as: -32 -relax-branch
4 #stderr: relax-offset.l
5
6 .*: +file format .*mips.*
7
8 Disassembly of section \.text:
9 [0-9a-f]+ <[^>]*> 3c1c0000 lui gp,0x0
10 [ ]*[0-9a-f]+: R_MIPS_HI16 _gp_disp
11 [0-9a-f]+ <[^>]*> 279c0000 addiu gp,gp,0
12 [ ]*[0-9a-f]+: R_MIPS_LO16 _gp_disp
13 [0-9a-f]+ <[^>]*> 0399e021 addu gp,gp,t9
14 [0-9a-f]+ <[^>]*> 14800004 bnez a0,00000020 <foo\+0x20>
15 [0-9a-f]+ <[^>]*> 00000000 nop
16 [0-9a-f]+ <[^>]*> 8f810002 lw at,2\(gp\)
17 [ ]*[0-9a-f]+: R_MIPS_GOT16 \.text
18 [0-9a-f]+ <[^>]*> 24210034 addiu at,at,52
19 [ ]*[0-9a-f]+: R_MIPS_LO16 \.text
20 [0-9a-f]+ <[^>]*> 00200008 jr at
21 [0-9a-f]+ <[^>]*> 00000000 nop
22 [0-9a-f]+ <[^>]*> 03e00008 jr ra
23 [0-9a-f]+ <[^>]*> 00000000 nop
24 \.\.\.
25 [0-9a-f]+ <[^>]*> 0000000c syscall
26 [0-9a-f]+ <[^>]*> 03e00008 jr ra
27 [0-9a-f]+ <[^>]*> 00000000 nop
28 \.\.\.