mirror of
git://git.musl-libc.org/musl
synced 2024-12-13 18:25:52 +00:00
ad5d8a2bf3
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.
14 lines
175 B
ArmAsm
14 lines
175 B
ArmAsm
.section .init
|
|
lds.l @r15+, pr
|
|
mov.l @r15+, r14
|
|
mov.l @r15+, r12
|
|
rts
|
|
add #4, r15
|
|
|
|
.section .fini
|
|
lds.l @r15+, pr
|
|
mov.l @r15+, r14
|
|
mov.l @r15+, r12
|
|
rts
|
|
add #4, r15
|