musl/crt/arm/crtn.s
Rich Felker 976c0fdcb5 remove init/fini array asm from arm crti/crtn files
this code has been replaced by portable C code that works on all
archs. the old asm needs to be removed or ctors/dtors will run twice.
2013-07-21 03:48:35 -04:00

12 lines
119 B
ArmAsm

.section .init
pop {r0,lr}
tst lr,#1
moveq pc,lr
bx lr
.section .fini
pop {r0,lr}
tst lr,#1
moveq pc,lr
bx lr