aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/mips16-fp-stub-2.s
blob: d63cc7c7d7fe6d04c70b6db95b4f176f6121b8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	.file	1 "mips-fp-stub-2.c"
	.section .mdebug.abi32
	.previous
	.nan	legacy
	.module	fp=32
	.module	oddspreg
	.text
	.align	2
	.globl	foo
	# Stub function for foo (float, float)
	.section	.mips16.fn.foo,"ax",@progbits
	.align	2
	.set	nomips16
	.set	nomicromips
	.ent	__fn_stub_foo
	.type	__fn_stub_foo, @function
__fn_stub_foo:
	la	$25,foo
	mfc1	$4,$f12
	mfc1	$5,$f14
	jr	$25
	.end	__fn_stub_foo
	__fn_local_foo = foo
	.text
	.set	mips16
	.set	nomicromips
	.ent	foo
	.type	foo, @function
foo:
	.frame	$17,8,$31		# vars= 0, regs= 2/0, args= 0, gp= 0
	.mask	0x80020000,-4
	.fmask	0x00000000,0
	save	8,$17,$31
	move	$17,$sp
	sw	$4,8($17)
	sw	$5,12($17)
	lw	$2,8($17)
	move	$sp,$17
	restore	8,$17,$31
	j	$31
	.end	foo
	.size	foo, .-foo
	.ident	"GCC: (Sourcery CodeBench Lite 2015.11-12 - Preview) 5.2.0"