2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 see <http://www.gnu.org/licenses/>. */
20 #include <jmpbuf-offsets.h>
24 /* This just does a tail-call to `__sigsetjmp (ARG, 0)'.
25 We cannot do it in C because it must be a tail-call, so frame-unwinding
26 in setjmp doesn't clobber the state restored by longjmp. */
29 .type _setjmp,@function
32 bra __sigsetjmp_intern
34 .size _setjmp,.-_setjmp;
36 /* This just does a tail-call to `__sigsetjmp (ARG, 1)'.
37 We cannot do it in C because it must be a tail-call, so frame-unwinding
38 in setjmp doesn't clobber the state restored by longjmp. */
41 .type setjmp,@function
44 bra __sigsetjmp_intern
46 .size setjmp,.-setjmp;
49 .type __sigsetjmp,@function
53 nop /* align this guy */
56 #if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__
64 add #(JB_SIZE-(5*4)), r4 /* this code doesn't do FP yet */
77 #ifdef __HAVE_SHARED__
81 /* Make a tail call to __sigjmp_save; it takes the same args. */
87 .LG: .long _GLOBAL_OFFSET_TABLE_
88 .L1: .long __sigjmp_save@GOT
90 /* Make a tail call to __sigjmp_save; it takes the same args. */
96 .L1: .long __sigjmp_save - .jmp_loc
99 .size __sigsetjmp,.-__sigsetjmp;