MIPS: Verify the ISA mode and alignment of branch and jump targets
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / mips16-fp-stub-2.s
1 .file 1 "mips-fp-stub-2.c"
2 .section .mdebug.abi32
3 .previous
4 .nan legacy
5 .module fp=32
6 .module oddspreg
7 .text
8 .align 2
9 .globl foo
10 # Stub function for foo (float, float)
11 .section .mips16.fn.foo,"ax",@progbits
12 .align 2
13 .set nomips16
14 .set nomicromips
15 .ent __fn_stub_foo
16 .type __fn_stub_foo, @function
17 __fn_stub_foo:
18 la $25,foo
19 mfc1 $4,$f12
20 mfc1 $5,$f14
21 jr $25
22 .end __fn_stub_foo
23 __fn_local_foo = foo
24 .text
25 .set mips16
26 .set nomicromips
27 .ent foo
28 .type foo, @function
29 foo:
30 .frame $17,8,$31 # vars= 0, regs= 2/0, args= 0, gp= 0
31 .mask 0x80020000,-4
32 .fmask 0x00000000,0
33 save 8,$17,$31
34 move $17,$sp
35 sw $4,8($17)
36 sw $5,12($17)
37 lw $2,8($17)
38 move $sp,$17
39 restore 8,$17,$31
40 j $31
41 .end foo
42 .size foo, .-foo
43 .ident "GCC: (Sourcery CodeBench Lite 2015.11-12 - Preview) 5.2.0"
This page took 0.031007 seconds and 4 git commands to generate.