MIPS/GAS: Use non-zero frag offset directly in PIC branch relaxation
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips16-pcrel-delay-0.s
CommitLineData
8507b6e7
MR
1 .text
2
3bar:
4 .space 0x10000
5
6 .ent foo
7 .set mips16
8 .set noreorder
9foo:
10 jr $4
11 la $2, . - 3 + 0x3fc
12 jr $ra
13 lw $2, . - 3 + 0x3fc
14 jr $4
15 la $2, . - 3 + 0x7fff
16 nop
17 jr $ra
18 lw $2, . - 3 + 0x7fff
19 nop
20 jr $4
21 la $2, . - 3 + 0x8000
22 nop
23 jr $ra
24 lw $2, . - 3 + 0x8000
25 nop
26 .set reorder
27 .set nomips16
28 .end foo
29
30baz:
31 .align 8, 0
32 .space 0xfe00
33
34# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
35 .align 4, 0
36 .space 16
This page took 0.033327 seconds and 4 git commands to generate.