]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/microblaze/crtn.S
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / microblaze / crtn.S
1 /*
2  * libc/sysdeps/linux/microblaze/crtn.S -- init/fini exit code for microblaze
3  *                                         (baselined with gcc 4.1.2)
4  *
5  *  Copyright (C) 2010       Digital Design Corporation
6  *
7  * This file is subject to the terms and conditions of the GNU Lesser
8  * General Public License.  See the file COPYING.LIB in the main
9  * directory of this archive for more details.
10  */
11
12 #define END_INIT
13 #define END_FINI
14 #define ALIGN
15 #include <libc-symbols.h>
16
17         .section .init
18         .align  2
19         .globl  _init
20         .ent    _init
21
22         lwi     r15, r1, 0
23         lwi     r19, r1, 28
24         rtsd    r15, 8
25         addik   r1, r1, 32      # Delay slot
26
27         .end    _init
28 $Lfe2:
29
30         .section .fini
31         .align  2
32         .globl  _fini
33         .ent    _fini
34
35         lwi     r15, r1, 0
36         lwi     r19, r1, 28
37         rtsd    r15, 8
38         addik   r1, r1, 32      # Delay slot
39
40         .end    _fini
41 $Lfe3:
42
43 /*@TRAILER_BEGINS*/