repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add arch/abi info to dynamic linker's id/version output
[musl.git]
/
arch
/
powerpc
/
crt_arch.h
blob
9b65886f9f78fd32affa7ba8bc5ba7f78f4302e3
1
__asm__
(
2
".text
\n
"
3
".global "
START
"
\n
"
4
".type "
START
", %function
\n
"
5
START
":
\n
"
6
" bl 1f
\n
"
7
".weak _DYNAMIC
\n
"
8
".hidden _DYNAMIC
\n
"
9
" .long _DYNAMIC-.
\n
"
10
"1: mflr 4
\n
"
11
" lwz 3, 0(4)
\n
"
12
" add 4, 3, 4
\n
"
13
" mr 3, 1
\n
"
14
" clrrwi 1, 1, 4
\n
"
15
" li 0, 0
\n
"
16
" stwu 1, -16(1)
\n
"
17
" mtlr 0
\n
"
18
" stw 0, 0(1)
\n
"
19
" bl "
START
"_c
\n
"
20
);