about summary refs log tree commit diff
path: root/crt/or1k/crti.s
blob: 7e7414596a06d17aa835449a17ed11e8ea8c7ff0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
.section .init
.global _init
_init:
	l.addi	r1,r1,-4
	l.sw	0(r1),r9

.section .fini
.global _fini
_fini:
	l.addi  r1,r1,-4
	l.sw    0(r1),r9