aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-03-08 22:16:10 +0000
committerRoland McGrath <roland@gnu.org>1993-03-08 22:16:10 +0000
commit009d15de1bd3df19c6ed7f12199d6ba530c1add9 (patch)
tree2f1ec453d6f76624711ed2b3835715bd8edf7428
parentbf6e97c48cd4483ed7596cca8590e5d071b17843 (diff)
downloadglibc-009d15de1bd3df19c6ed7f12199d6ba530c1add9.tar
glibc-009d15de1bd3df19c6ed7f12199d6ba530c1add9.tar.gz
glibc-009d15de1bd3df19c6ed7f12199d6ba530c1add9.tar.bz2
glibc-009d15de1bd3df19c6ed7f12199d6ba530c1add9.zip
Formerly mips/jmp_buf.h.~4~
-rw-r--r--sysdeps/mips/jmp_buf.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/sysdeps/mips/jmp_buf.h b/sysdeps/mips/jmp_buf.h
index c6b10fb5fb..661997f25a 100644
--- a/sysdeps/mips/jmp_buf.h
+++ b/sysdeps/mips/jmp_buf.h
@@ -1,7 +1,6 @@
/* Define the machine-dependent type `jmp_buf'. Mips version.
-
-Copyright (C) 1992 Free Software Foundation, Inc.
-Contributed by Brendan Kehoe (brendan@cs.widener.edu).
+ Copyright (C) 1992, 1993 Free Software Foundation, Inc.
+ Contributed by Brendan Kehoe (brendan@cygnus.com).
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
@@ -21,19 +20,19 @@ Cambridge, MA 02139, USA. */
typedef struct
{
/* Program counter. */
- PTR __pc;
+ __ptr_t __pc;
/* Stack pointer. */
- PTR __sp;
+ __ptr_t __sp;
/* Callee-saved registers s0 through s7. */
int __regs[8];
/* The frame pointer. */
- PTR __fp;
+ __ptr_t __fp;
/* The global pointer. */
- PTR __gp;
+ __ptr_t __gp;
/* Floating point status register. */
int __fpc_csr;
@@ -41,3 +40,6 @@ typedef struct
/* Callee-saved floating point registers. */
double __fpregs[6];
} __jmp_buf[1];
+
+/* Offset to the program counter in `jmp_buf'. */
+#define JB_PC 0