chiark / gitweb /
[PATCH] sync klibc with release 0.95
[elogind.git] / klibc / klibc / arch / ppc / crt0.S
1 #
2 # arch/ppc/crt0.S
3 #
4
5         .text
6         .align 4
7         .type _start,@function
8         .globl _start
9 _start:
10         stwu    1,-16(1)
11         addi    3,1,16
12         /*
13          * the SVR4abippc.pdf specifies r7 as a pointer to 
14          * a termination function pointer.
15          * It is unused on Linux.
16          */
17         mr      4,7
18         bl      __libc_init
19         
20         .size _start,.-_start