This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
musl
mirror of
git://git.musl-libc.org/musl
Watch
1
Star
0
Fork
You've already forked musl
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e3c682ab52
musl
/
crt
/
sh
/
crtn.s
14 lines
175 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
superh port
2013-10-05 10:13:18 +00:00
.section
.init
lds
.
l
@r15+, pr
make sh crti/crtn init/fini fragments setup proper stack frame for fdpic support is is essential that the got pointer be saved at a known, ABI-dictated offset from the frame pointer, since there is no way to recover it once it's lost.
2015-09-12 02:50:28 +00:00
mov
.
l
@r15+, r14
mov
.
l
@r15+, r12
superh port
2013-10-05 10:13:18 +00:00
rts
make sh crti/crtn init/fini fragments setup proper stack frame for fdpic support is is essential that the got pointer be saved at a known, ABI-dictated offset from the frame pointer, since there is no way to recover it once it's lost.
2015-09-12 02:50:28 +00:00
add #
4
,
r15
superh port
2013-10-05 10:13:18 +00:00
.section
.fini
lds
.
l
@r15+, pr
make sh crti/crtn init/fini fragments setup proper stack frame for fdpic support is is essential that the got pointer be saved at a known, ABI-dictated offset from the frame pointer, since there is no way to recover it once it's lost.
2015-09-12 02:50:28 +00:00
mov
.
l
@r15+, r14
mov
.
l
@r15+, r12
superh port
2013-10-05 10:13:18 +00:00
rts
make sh crti/crtn init/fini fragments setup proper stack frame for fdpic support is is essential that the got pointer be saved at a known, ABI-dictated offset from the frame pointer, since there is no way to recover it once it's lost.
2015-09-12 02:50:28 +00:00
add #
4
,
r15