mirror of https://git.musl-libc.org/git/musl
Browse Source
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.master
2 changed files with 14 additions and 2 deletions
@ -1,9 +1,13 @@ |
|||
.section .init |
|||
lds.l @r15+, pr |
|||
mov.l @r15+, r14 |
|||
mov.l @r15+, r12 |
|||
rts |
|||
nop |
|||
add #4, r15 |
|||
|
|||
.section .fini |
|||
lds.l @r15+, pr |
|||
mov.l @r15+, r14 |
|||
mov.l @r15+, r12 |
|||
rts |
|||
nop |
|||
add #4, r15 |
|||
|
|||
Loading…
Reference in new issue