aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-20 06:05:52 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-20 06:05:52 +0000
commit21e7ad57abfc434e724f1f486e0d5f82b2bd4969 (patch)
treef9ff351aee62c7db5d43daa6eb611f15a75a36fc /sysdeps/unix
parent6e3bde59b4f5aa56e5a384c092fc06fbe31cf84b (diff)
downloadglibc-21e7ad57abfc434e724f1f486e0d5f82b2bd4969.tar
glibc-21e7ad57abfc434e724f1f486e0d5f82b2bd4969.tar.gz
glibc-21e7ad57abfc434e724f1f486e0d5f82b2bd4969.tar.bz2
glibc-21e7ad57abfc434e724f1f486e0d5f82b2bd4969.zip
(NGREG, NFPREG, gregset): Correct for new kernel definitions.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/sys/ucontext.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
index c819ab1627..44108f0c54 100644
--- a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -33,15 +33,16 @@
typedef unsigned long int greg_t;
/* Number of general registers. */
-#define NGREG 42
-#define NFPREG 33
+#define NGREG 80
+#define NFPREG 32
/* Container for all general registers. */
typedef struct gregset
{
greg_t g_regs[32];
- greg_t sr_regs[5];
- greg_t g_pad[5];
+ greg_t sr_regs[8];
+ greg_t cr_regs[24];
+ greg_t g_pad[16];
} gregset_t;
/* Container for all FPU registers. */