summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2/crti.S
blob: 26c55c970f889478da58ad208b21f39dcf731fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

   .section .init
   .balign 4
   .global _init
   .type   _init, @function
_init:
    addi sp, sp, -8
    stw  ra, 0(sp)
    stw  fp, 4(sp)

   .balign 4
   
   
   .section .fini
   .balign 4
   .global _fini
   .type   _fini, @function
_fini:
    addi sp, sp, -8
    stw  ra, 0(sp)
    stw  fp, 4(sp)
  .balign 4