Replace FSF snail mail address with URLs.
[glibc.git] / sysdeps / unix / sysv / linux / sparc / bits / setjmp.h
blobb08993c181fdd757f02ca788edfef0bbcfd263a1
1 /* Copyright (C) 1997, 1999, 2000, 2003, 2005, 2006
2 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 Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the 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 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _BITS_SETJMP_H
20 #define _BITS_SETJMP_H 1
22 #if !defined _SETJMP_H && !defined _PTHREAD_H
23 # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
24 #endif
26 #include <bits/wordsize.h>
28 #if __WORDSIZE == 64
30 #ifndef _ASM
31 typedef struct __sparc64_jmp_buf
33 struct __sparc64_jmp_buf *uc_link;
34 unsigned long uc_flags;
35 unsigned long uc_sigmask;
36 struct __sparc64_jmp_buf_mcontext
38 unsigned long mc_gregs[19];
39 unsigned long mc_fp;
40 unsigned long mc_i7;
41 struct __sparc64_jmp_buf_fpu
43 union
45 unsigned int sregs[32];
46 unsigned long dregs[32];
47 long double qregs[16];
48 } mcfpu_fpregs;
49 unsigned long mcfpu_fprs;
50 unsigned long mcfpu_gsr;
51 void *mcfpu_fq;
52 unsigned char mcfpu_qcnt;
53 unsigned char mcfpu_qentsz;
54 unsigned char mcfpu_enab;
55 } mc_fpregs;
56 } uc_mcontext;
57 } __jmp_buf[1];
58 #endif
60 #else
62 #ifndef _ASM
63 typedef int __jmp_buf[3];
64 #endif
66 #endif
68 #endif /* bits/setjmp.h */