]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/cris/crtn.S
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / cris / crtn.S
1 /* glibc's sysdeps/cris/elf/initfini.c used for reference [EPILOG] */
2
3         .section        .init
4         .align  1
5         .global _init
6         .type   _init, @function
7         move.d  [$sp+],$r0
8         move    $r1,$srp
9         move.d  [$sp+],$r1
10         Ret
11         nop
12
13         .section        .fini
14         .align  1
15         .global _fini
16         .type   _fini, @function
17         move.d  [$sp+],$r0
18         move    $r1,$srp
19         move.d  [$sp+],$r1
20         Ret
21         nop