Update.
[glibc.git] / sysdeps / alpha / jmp_buf.h
blob6e6f6b4727202ebd6c821479f137ba29545fea3d
1 /* Define the machine-dependent type `jmp_buf'. Alpha version.
2 Copyright (C) 1992 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
17 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
18 Cambridge, MA 02139, USA. */
20 typedef struct
22 /* Integer registers:
23 $0 is the return value;
24 $1-$8, $22-$25, $28 are call-used;
25 $9-$14 we save here;
26 $15 is the FP and we save it here;
27 $16-$21 are input arguments (call-used);
28 $26 is the return PC and we save it here;
29 $27 is the procedure value (i.e., the address of __setjmp);
30 $29 is the global pointer, which the caller will reconstruct
31 from the return address restored in $26;
32 $30 is the stack pointer and we save it here;
33 $31 is always zero. */
34 long int __9, __10, __11, __12, __13, __14;
35 long int *__pc, *__fp, *__sp;
37 #if 1 /* XXX need predefine for TARGET_FPREGS */
38 /* Floating-point registers:
39 $f0 is the floating return value;
40 $f1, $f10-$f15, $f22-$f30 are call-used;
41 $f2-$f9 we save here;
42 $f16-$21 are input args (call-used);
43 $f31 is always zero. */
44 double __f2, __f3, __f4, __f5, __f6, __f7, __f8, __f9;
45 #endif /* Have FP regs. */
46 } __jmp_buf[1];