chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
[elogind.git]
/
klibc
/
klibc
/
arch
/
ppc
/
crt0.S
1
#
2
# arch/ppc/crt0.S
3
#
4
# void _start(void)
5
# {
6
# /* Divine up argc, argv, and envp */
7
# environ = envp;
8
# exit(main(argc, argv, envp));
9
# }
10
#
11
12
.text
13
.align 4
14
.type _start,@function
15
.globl _start
16
_start:
17
lwz 3,0(1)
18
addi 4,1,4
19
addi 5,1,8
20
slwi 0,3,2
21
add 5,5,0
22
li 0,0
23
stwu 0,-16(1)
24
lis 9,environ@ha
25
stw 5,environ@l(9)
26
bl main
27
bl exit
28
29
.size _start,.-_start