OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [uClibc/] [libc/] [sysdeps/] [linux/] [v850/] [__longjmp.S] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1325 phoenix
/*
2
 * libc/sysdeps/linux/v850/longjmp.S -- `longjmp' for v850
3
 *
4
 *  Copyright (C) 2001,02  NEC Corporation
5
 *  Copyright (C) 2001,02  Miles Bader 
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
 * Written by Miles Bader 
12
 */
13
 
14
#define _SETJMP_H
15
#define _ASM
16
#include 
17
 
18
#include 
19
 
20
        .text
21
C_ENTRY(__longjmp):
22
        /* Save registers */
23
        mov     r6, ep
24
        sld.w   0[ep], sp
25
        sld.w   4[ep], lp
26
        sld.w   8[ep], r2
27
        sld.w   12[ep], r20
28
        sld.w   16[ep], r21
29
        sld.w   20[ep], r22
30
        sld.w   24[ep], r23
31
        sld.w   28[ep], r24
32
        sld.w   32[ep], r25
33
        sld.w   36[ep], r26
34
        sld.w   40[ep], r27
35
        sld.w   44[ep], r28
36
        sld.w   48[ep], r29
37
        mov     1, r10                  // return val
38
        jmp     [lp]
39
C_END(__longjmp)
40
 
41
.weak C_SYMBOL_NAME(__sigprocmask)
42
C_SYMBOL_NAME(__sigprocmask) = C_SYMBOL_NAME(sigprocmask)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.