diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-29 07:30:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-29 07:30:00 +0000 |
commit | 06522d7e9919fe1c151f3b706daa8b00034a3f88 (patch) | |
tree | 825a5c6ae3f559e2ced88da8846fbc5fe9d4b15e /sysdeps/unix/sysv/linux/ia64/sys/procfs.h | |
parent | c5af724c0b214a517f8558887f7a70efcfa2c813 (diff) | |
download | glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.tar.gz glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.tar.xz glibc-06522d7e9919fe1c151f3b706daa8b00034a3f88.zip |
Update.
2003-10-09 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include <asm/fpu.h>. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include <asm/fpu.h>. (struct ia64_fpreg): New definition. * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include <asm/elf.h>. (ELF_NGREG): New. (ELF_NFPREG): Likewise. (elf_greg_t): Likewise. (elf_gregset_t): Likewise. (elf_fpreg_t): Likewise. (elf_fpregset_t): Likewise. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include <sys/ucontext.h>. (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS. (pt_all_user_regs): New.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/sys/procfs.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sys/procfs.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sys/procfs.h b/sysdeps/unix/sysv/linux/ia64/sys/procfs.h index 0e0a1411a5..b5196b997c 100644 --- a/sysdeps/unix/sysv/linux/ia64/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/ia64/sys/procfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2003 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 @@ -29,7 +29,6 @@ #include <sys/types.h> #include <sys/ucontext.h> #include <sys/user.h> -#include <asm/elf.h> __BEGIN_DECLS @@ -40,6 +39,17 @@ struct elf_siginfo int si_errno; /* Errno. */ }; +/* We really need just 72 but let's leave some headroom... */ +#define ELF_NGREG 128 +/* f0 and f1 could be omitted, but so what... */ +#define ELF_NFPREG 128 + +typedef unsigned long elf_greg_t; +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; + +typedef struct ia64_fpreg elf_fpreg_t; +typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; + typedef elf_greg_t greg_t; typedef elf_gregset_t gregset_t; typedef elf_fpregset_t fpregset_t; |