github.com/afumu/libc@v0.0.6/musl/crt/sh/crti.s (about)

     1  .section .init
     2  .global  _init
     3  .type    _init, @function
     4  _init:
     5  	add #-4, r15
     6  	mov.l r12, @-r15
     7  	mov.l r14, @-r15
     8  	sts.l pr, @-r15
     9  	mov r15, r14
    10  	nop
    11  
    12  .section .fini
    13  .global  _fini
    14  .type    _fini, @function
    15  _fini:
    16  	add #-4, r15
    17  	mov.l r12, @-r15
    18  	mov.l r14, @-r15
    19  	sts.l pr, @-r15
    20  	mov r15, r14
    21  	nop