Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-05-30 16:11:40 +00:00
Code Issues Projects Releases Wiki Activity
musl/crt/sh/crtn.s

14 lines
175 B
ArmAsm
Raw Normal View History

superh port
2013-10-05 05:13:18 -05: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 05:13:18 -05: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 05:13:18 -05: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 05:13:18 -05: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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 70ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API