about summary refs log tree commit diff
path: root/arch/or1k/crt_arch.h
blob: 0f381d2d5a08cf24991a1ad73de7a6c5fbb6b23a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
__asm__("\
.global _start \n\
.align  4 \n\
_start: \n\
	l.ori r3, r1, 0 \n\
	l.addi r2, r0, -8 \n\
	l.and r1, r1, r2 \n\
	l.addi r1, r1, -8 \n\
	l.jal __cstart \n\
	 l.ori r2, r0, 0 \n\
");