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