aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/config/mips/irix-crtn.asm
blob: 600576cb1d7001d2c0d05bf1289b566b7357f777 (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 .gcc_init,"ax",@progbits
#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 .gcc_fini,"ax",@progbits
#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