summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/ia64/crt0.S
blob: 2394cc4272d149ecbbe2bd16525c32378e413002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <asm/fpu.h>

	.align 32
	.global _start

	.proc _start
	.type _start,@function
_start:
	.prologue
	.save rp, r0

	alloc r2 = ar.pfs,0,0,2,0
	movl r3 = FPSR_DEFAULT
	;;
	adds out0= 16,sp    /* argc pointer */

	.body
	br.call.sptk.few rp = __libc_init
	;;
	break 0             /* break miserably if we ever return */

	.endp _start