Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / mips16-fp-stub-1.s
blob98a5067b1121126b68b264fe4e2649b74f1aad0b
1 .file 1 "mips-fp-stub-1.c"
2 .section .mdebug.abi32
3 .previous
4 .nan legacy
5 .module fp=32
6 .module oddspreg
7 # Stub function to call float foo (float, float)
8 .section .mips16.call.fp.foo,"ax",@progbits
9 .align 2
10 .set nomips16
11 .set nomicromips
12 .ent __call_stub_fp_foo
13 .type __call_stub_fp_foo, @function
14 __call_stub_fp_foo:
15 .cfi_startproc
16 .cfi_def_cfa 29,-4
17 .cfi_escape 0x16,29,1,0x6d
18 move $18,$31
19 mtc1 $4,$f12
20 mtc1 $5,$f14
21 jal foo
22 .cfi_register 31,18
23 mfc1 $2,$f0
24 jr $18
25 .cfi_endproc
26 .size __call_stub_fp_foo, .-__call_stub_fp_foo
27 .end __call_stub_fp_foo
28 .text
29 .align 2
30 .globl main
31 .set mips16
32 .set nomicromips
33 .ent main
34 .type main, @function
35 main:
36 .frame $17,24,$31 # vars= 8, regs= 3/0, args= 16, gp= 0
37 .mask 0x80060000,-4
38 .fmask 0x00000000,0
39 save 40,$17,$18,$31
40 addiu $17,$sp,16
41 lw $3,.L3
42 lw $2,.L4
43 move $5,$3
44 move $4,$2
45 jal foo
46 sw $2,0($17)
47 li $2,0
48 move $sp,$17
49 restore 24,$17,$18,$31
50 j $31
51 .align 2
52 .L3:
53 .word 1085485875
54 .L4:
55 .word 1065353216
56 .end main
57 .size main, .-main
58 .ident "GCC: (Sourcery CodeBench Lite 2015.11-12 - Preview) 5.2.0"