aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/export-class-ref-f0.s
blob: 675996d368d4eb69fdeea93bab1554911ade3fc4 (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
	.abicalls
	.text

	.if	refv == 3
	.protected f1
	.elseif	refv == 2
	.hidden	f1
	.elseif	refv == 1
	.internal f1
	.endif

	.globl	f0
	.ent	f0
f0:
	.frame	$sp, 32, $31
	.mask	0x80000000, -4
	.fmask	0x00000000, 0
	.set	noreorder
	.cpload	$25
	.set	reorder
	addiu	$sp, $sp, -32
	sw	$31, 28($sp)
	.cprestore 16

	lw	$25, %call16(f1)($28)
	jalr	$25
	lw	$28, 16($sp)

	lw	$25, %call16(f2)($28)
	jalr	$25
	lw	$28, 16($sp)

	move	$2, $0
	lw	$31, 28($sp)
	addiu	$sp, $sp, 32
	jr	$31
	.end	f0