summaryrefslogtreecommitdiff
path: root/klibc/klibc/arch/ppc/crt0.S
blob: 282f8411e4079749c3c90ac3b36d36b99d6ae119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# arch/ppc/crt0.S
#

	.text
	.align 4
	.type _start,@function
	.globl _start
_start:
	stwu	1,-16(1)
	addi	3,1,16
	/*
	 * the SVR4abippc.pdf specifies r7 as a pointer to 
	 * a termination function pointer.
	 * It is unused on Linux.
	 */
	mr	4,7
	bl	__libc_init
	
	.size _start,.-_start