aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/irix6-crti.asm
blob: 5d8ede703903c40f7aaeb01b3981199100a2507e (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
	.abicalls
	.set	noreorder
	.set	nomacro

	.section .init,0x1,0x6,4,4
	jr	$31
	nop

	.globl	__gcc_init
__gcc_init:
#if _MIPS_SIM == _ABIO32
	addiu	$sp,$sp,-16
	sw	$31,0($sp)
#else
	daddiu	$sp,$sp,-16
	sd	$31,0($sp)
	sd	$28,8($sp)
#endif

	.section .fini,0x1,0x6,4,4
	jr	$31
	nop

	.globl	__gcc_fini
__gcc_fini:
#if _MIPS_SIM == _ABIO32
	addiu	$sp,$sp,-16
	sw	$31,0($sp)
#else
	daddiu	$sp,$sp,-16
	sd	$31,0($sp)
	sd	$28,8($sp)
#endif