1 /* Copyright (C) 1998-2014 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, see
16 <http://www.gnu.org/licenses/>. */
21 #include <asm/ptrace.h>
23 /* asm/ptrace.h polutes the namespace. */
26 #undef PTRACE_GETFPREGS
27 #undef PTRACE_SETFPREGS
28 #undef PTRACE_GETFDPIC
29 #undef PTRACE_GETFDPIC_EXEC
30 #undef PTRACE_GETFDPIC_INTERP
31 #undef PTRACE_GETDSPREGS
32 #undef PTRACE_SETDSPREGS
34 typedef unsigned long elf_greg_t
;
36 #define ELF_NGREG (sizeof (struct pt_regs) / sizeof (elf_greg_t))
37 typedef elf_greg_t elf_gregset_t
[ELF_NGREG
];
39 struct user_fpu_struct
41 unsigned long fp_regs
[16];
42 unsigned long xfp_regs
[16];
46 typedef struct user_fpu_struct elf_fpregset_t
;
51 struct user_fpu_struct fpu
;
56 unsigned long start_code
;
57 unsigned long start_data
;
58 unsigned long start_stack
;
61 struct user_fpu_struct
*u_fpstate
;
66 #endif /* sys/user.h */