Formerly mips/jmp_buf.h.~4~

This commit is contained in:
Roland McGrath 1993-03-08 22:16:10 +00:00
parent bf6e97c48c
commit 009d15de1b
1 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,6 @@
/* Define the machine-dependent type `jmp_buf'. Mips version. /* Define the machine-dependent type `jmp_buf'. Mips version.
Copyright (C) 1992, 1993 Free Software Foundation, Inc.
Copyright (C) 1992 Free Software Foundation, Inc. Contributed by Brendan Kehoe (brendan@cygnus.com).
Contributed by Brendan Kehoe (brendan@cs.widener.edu).
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as modify it under the terms of the GNU Library General Public License as
@ -21,19 +20,19 @@ Cambridge, MA 02139, USA. */
typedef struct typedef struct
{ {
/* Program counter. */ /* Program counter. */
PTR __pc; __ptr_t __pc;
/* Stack pointer. */ /* Stack pointer. */
PTR __sp; __ptr_t __sp;
/* Callee-saved registers s0 through s7. */ /* Callee-saved registers s0 through s7. */
int __regs[8]; int __regs[8];
/* The frame pointer. */ /* The frame pointer. */
PTR __fp; __ptr_t __fp;
/* The global pointer. */ /* The global pointer. */
PTR __gp; __ptr_t __gp;
/* Floating point status register. */ /* Floating point status register. */
int __fpc_csr; int __fpc_csr;
@ -41,3 +40,6 @@ typedef struct
/* Callee-saved floating point registers. */ /* Callee-saved floating point registers. */
double __fpregs[6]; double __fpregs[6];
} __jmp_buf[1]; } __jmp_buf[1];
/* Offset to the program counter in `jmp_buf'. */
#define JB_PC 0