mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
299 B
21 lines
299 B
.section .init
|
|
.global _init
|
|
.type _init, @function
|
|
_init:
|
|
add #-4, r15
|
|
mov.l r12, @-r15
|
|
mov.l r14, @-r15
|
|
sts.l pr, @-r15
|
|
mov r15, r14
|
|
nop
|
|
|
|
.section .fini
|
|
.global _fini
|
|
.type _fini, @function
|
|
_fini:
|
|
add #-4, r15
|
|
mov.l r12, @-r15
|
|
mov.l r14, @-r15
|
|
sts.l pr, @-r15
|
|
mov r15, r14
|
|
nop
|
|
|