MIPS16/GAS: Relax 32-bit non-PIC PC-relative synthetic instructions
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips16-pcrel-1.s
1 .text
2
3 bar:
4 .space 0x10000
5
6 .ent foo
7 .set mips16
8 foo:
9 dla $2, . - 1
10 nop
11 ld $2, . - 5
12 nop
13 dla $2, . - 1 + 0x7c
14 nop
15 ld $2, . - 5 + 0xf8
16 nop
17 dla $2, . - 1 + 0x80
18 ld $2, . - 5 + 0x100
19 dla $2, . - 1 - 0x4
20 ld $2, . - 5 - 0x4
21 dla $2, . - 1 + 0x7fff
22 ld $2, . - 5 + 0x7fff
23 dla $2, . - 1 - 0x8000
24 ld $2, . - 5 - 0x8000
25 dla $2, . - 1 + 0x8000
26 ld $2, . - 5 + 0x8000
27 dla $2, . - 1 - 0x8001
28 ld $2, . - 5 - 0x8001
29 nop
30 .set nomips16
31 .end foo
32
33 baz:
34 .align 7, 0
35 .space 0xff00
36
37 # Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
38 .align 4, 0
39 .space 16
This page took 0.029285 seconds and 4 git commands to generate.