aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/crt_arch.h
blob: 8cc53d9883aa03339bcff2d69ee53d1ff4d85ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
__asm__("\
.global _start \n\
.type   _start, %function \n\
_start: \n\
	mr 3, 1 \n\
	clrrwi 1, 1, 4 \n\
	li 0, 0 \n\
	stwu 1, -16(1) \n\
	mtlr 0 \n\
	stw 0, 0(1) \n\
	bl __cstart \n\
");