summaryrefslogblamecommitdiff
path: root/crt/sh/crti.s
blob: d99bfd5c82dc3e1900891139c1935a9ea46a48ea (plain) (tree)
1
2
3
4
5
6
7
8
9



                         


                        
                       
                    





                         


                        
                       
                    
           
.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