summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/lm32/crti.S
blob: 8ceb15be96bb5cf907b1405d4dcb1cdaba9bce64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.section .init
.global _init
.type _init,@function
.align 4

_init:
    addi    sp, sp, -4
    sw      (sp+4), ra

.section .fini
.global _fini
.type _fini,@function
.align 4

_fini:
    addi    sp, sp, -4
    sw      (sp+4), ra