aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@raspberryginger.com>2007-06-16 16:36:53 +0000
committerJeff Bailey <jbailey@raspberryginger.com>2007-06-16 16:36:53 +0000
commite8955bf40901b7e785cfbe44ec83313fe9da61c6 (patch)
tree5e1d1cdeab10fe4316a753172e79917e98ffb5f0
parent370d74b5df15639950c320d23ee61769fef46e42 (diff)
downloadglibc-e8955bf40901b7e785cfbe44ec83313fe9da61c6.tar.xz
glibc-e8955bf40901b7e785cfbe44ec83313fe9da61c6.zip
2006-07-16 Jeff Bailey <jbailey@raspberryginger.com>
* sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't include asm/elf.h. Declare elf_greg_t, elf_gregset_t, elf_fpreg_t, and elf_fpregset_t.
-rw-r--r--ChangeLog.hppa6
-rw-r--r--sysdeps/unix/sysv/linux/hppa/sys/procfs.h12
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index 541cb9b91b..967dadfb16 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,3 +1,9 @@
+2006-07-16 Jeff Bailey <jbailey@raspberryginger.com>
+
+ * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
+ include asm/elf.h. Declare elf_greg_t, elf_gregset_t,
+ elf_fpreg_t, and elf_fpregset_t.
+
2007-06-16 Jeff Bailey <jbailey@raspberryginger.com>
* sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
diff --git a/sysdeps/unix/sysv/linux/hppa/sys/procfs.h b/sysdeps/unix/sysv/linux/hppa/sys/procfs.h
index 2e6d10956d..ca35489f54 100644
--- a/sysdeps/unix/sysv/linux/hppa/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/hppa/sys/procfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999, 2000, 2006 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
@@ -34,10 +34,18 @@
#include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h>
-#include <asm/elf.h>
__BEGIN_DECLS
+typedef unsigned long elf_greg_t;
+#define ELF_NGREG 80 /* We only need 64 at present, but leave space
+ for expansion. */
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+#define ELF_NFPREG 32
+typedef double elf_fpreg_t;
+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
+
struct elf_siginfo
{
int si_signo; /* Signal number. */