musl/crt/sh/crti.s

22 lines
299 B
ArmAsm
Raw Normal View History

2013-10-05 10:13:18 +00:00
.section .init
.global _init
.type _init, @function
_init:
add #-4, r15
mov.l r12, @-r15
mov.l r14, @-r15
2013-10-05 10:13:18 +00:00
sts.l pr, @-r15
mov r15, r14
2013-10-05 10:13:18 +00:00
nop
.section .fini
.global _fini
.type _fini, @function
_fini:
add #-4, r15
mov.l r12, @-r15
mov.l r14, @-r15
2013-10-05 10:13:18 +00:00
sts.l pr, @-r15
mov r15, r14
2013-10-05 10:13:18 +00:00
nop