]>
Commit | Line | Data |
---|---|---|
b53d1f41 MF |
1 | --- ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h |
2 | +++ ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h | |
3 | @@ -33,7 +33,6 @@ | |
4 | #include <sys/types.h> | |
5 | #include <sys/ucontext.h> | |
6 | #include <sys/user.h> | |
7 | -#include <asm/elf.h> | |
8 | ||
9 | __BEGIN_DECLS | |
10 | ||
11 | @@ -52,6 +50,16 @@ | |
12 | but more Linuxy, with things that Linux does not support and which | |
13 | GDB doesn't really use excluded. */ | |
14 | ||
15 | + | |
16 | +#define ELF_NGREG 80 /* We only need 64 at present, but leave space | |
17 | + for expansion. */ | |
18 | +typedef unsigned long elf_greg_t; | |
19 | +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; | |
20 | + | |
21 | +#define ELF_NFPREG 32 | |
22 | +typedef double elf_fpreg_t; | |
23 | +typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | |
24 | + | |
25 | struct elf_prstatus | |
26 | { | |
27 | struct elf_siginfo pr_info; /* Info associated with signal. */ |