2003-10-23 03:37:40 +02:00
|
|
|
#
|
|
|
|
# arch/ppc/crt0.S
|
|
|
|
#
|
|
|
|
|
|
|
|
.text
|
|
|
|
.align 4
|
|
|
|
.type _start,@function
|
|
|
|
.globl _start
|
|
|
|
_start:
|
2003-12-17 09:22:55 +01:00
|
|
|
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
|
2003-10-23 03:37:40 +02:00
|
|
|
|
|
|
|
.size _start,.-_start
|