5 Copyright (C) 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
6 This file is part of the GNU C Library.
8 The GNU C Library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
13 The GNU C Library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with the GNU C Library; see the file COPYING.LIB. If
20 not, see <http://www.gnu.org/licenses/>. */
23 #include <jmpbuf-offsets.h>
25 #ifdef __UCLIBC_HAS_FLOATS__
32 .type _setjmp, @function
36 l.addi r4,r0,0 /* Set second argument to 0. */
39 .size _setjmp,.-_setjmp
42 .type __setjmp, @function
46 l.addi r4,r0,1 /* Set second argument to 1. */
49 .size __setjmp,.-__setjmp
55 .type __sigsetjmp, @function
60 # l.mfspr r11,r0,SPR_SR
61 # l.sw (JB_SR*4)(r3),r11
62 l.sw ((JB_GPRS+0)*4)(r3),r1
63 l.sw ((JB_GPRS+1)*4)(r3),r2
64 /* l.sw ((JB_GPRS+2)*4)(r3),r3*/
65 l.sw ((JB_GPRS+3)*4)(r3),r4
66 l.sw ((JB_GPRS+4)*4)(r3),r5
67 l.sw ((JB_GPRS+5)*4)(r3),r6
68 l.sw ((JB_GPRS+6)*4)(r3),r7
69 l.sw ((JB_GPRS+7)*4)(r3),r8
70 l.sw ((JB_GPRS+8)*4)(r3),r9
71 l.sw ((JB_GPRS+9)*4)(r3),r10
72 l.sw ((JB_GPRS+10)*4)(r3),r11
73 l.sw ((JB_GPRS+11)*4)(r3),r12
74 l.sw ((JB_GPRS+12)*4)(r3),r13
75 l.sw ((JB_GPRS+13)*4)(r3),r14
76 l.sw ((JB_GPRS+14)*4)(r3),r15
77 l.sw ((JB_GPRS+15)*4)(r3),r16
78 l.sw ((JB_GPRS+16)*4)(r3),r17
79 l.sw ((JB_GPRS+17)*4)(r3),r18
80 l.sw ((JB_GPRS+18)*4)(r3),r19
81 l.sw ((JB_GPRS+19)*4)(r3),r20
82 l.sw ((JB_GPRS+20)*4)(r3),r21
83 l.sw ((JB_GPRS+21)*4)(r3),r22
84 l.sw ((JB_GPRS+22)*4)(r3),r23
85 l.sw ((JB_GPRS+23)*4)(r3),r24
86 l.sw ((JB_GPRS+24)*4)(r3),r25
87 l.sw ((JB_GPRS+25)*4)(r3),r26
88 l.sw ((JB_GPRS+26)*4)(r3),r27
89 l.sw ((JB_GPRS+27)*4)(r3),r28
90 l.sw ((JB_GPRS+28)*4)(r3),r29
91 l.sw ((JB_GPRS+29)*4)(r3),r30
92 l.sw ((JB_GPRS+30)*4)(r3),r31
95 .size __sigsetjmp,.-__sigsetjmp