MIPS/BFD: Move attribute check after ELF file header flag check
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / jr-to-b-2.s
CommitLineData
1063d8cf
CF
1 .abicalls
2 .text
3 .align 2
4 .set mips16
5 .ent s
6 .type s, @function
7s:
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
17
18 .end s
19 .size s, .-s
20 .align 2
21 .globl t
22 .set nomips16
23 .ent t
24 .type t, @function
25t:
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
361: jr $25
37 nop
38
39 .set macro
40 .set reorder
41 .end t
42 .size t, .-t
This page took 0.274841 seconds and 4 git commands to generate.