aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/irix-crtn.asm
blob: 647e8e13e3174f81678d6997905038a3350b0569 (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
	.abicalls
	.set	noreorder
	.set	nomacro

	.section .init,0x1,0x6,4,4
#if _MIPS_SIM == _ABIO32
	lw	$31,0($sp)
	jr	$31
	addiu	$sp,$sp,16
#else
	ld	$31,0($sp)
	ld	$28,8($sp)
	jr	$31
	daddiu	$sp,$sp,16
#endif

	.section .fini,0x1,0x6,4,4
#if _MIPS_SIM == _ABIO32
	lw	$31,0($sp)
	jr	$31
	addiu	$sp,$sp,16
#else
	ld	$31,0($sp)
	ld	$28,8($sp)
	jr	$31
	daddiu	$sp,$sp,16
#endif