Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / jr-to-b-2.s
blobac883c34fb91de7c973db2b95e0f49c1bd33f88f
1 .abicalls
2 .text
3 .align 2
4 .set mips16
5 .ent s
6 .type s, @function
7 s:
8 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
9 .mask 0x00000000,0
10 .fmask 0x00000000,0
11 .set noreorder
12 .set nomacro
13 j $31
14 li $2,1
15 .set macro
16 .set reorder
18 .end s
19 .size s, .-s
20 .align 2
21 .globl t
22 .set nomips16
23 .ent t
24 .type t, @function
26 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
27 .mask 0x00000000,0
28 .fmask 0x00000000,0
29 .set noreorder
30 .cpload $25
31 .set nomacro
32 lw $25,%got(s)($28)
33 nop
34 addiu $25,$25,%lo(s)
35 .reloc 1f,R_MIPS_JALR,s
36 1: jr $25
37 nop
39 .set macro
40 .set reorder
41 .end t
42 .size t, .-t