diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 06:52:36 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 06:52:36 -0400 |
commit | 934135c19d8a1be435bae75aefc09b8ae1698b16 (patch) | |
tree | 825be606c643ed792a2973263cade41d05171cde /arch/sh/include/asm/elf.h | |
parent | 09558748464a9afafe2848a3ad4cfd509c9b0fb6 (diff) |
sh: ptrace: Introduce user_regset interface for gp regs.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/elf.h')
-rw-r--r-- | arch/sh/include/asm/elf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/include/asm/elf.h b/arch/sh/include/asm/elf.h index f01449a8d378..455d9e1e1438 100644 --- a/arch/sh/include/asm/elf.h +++ b/arch/sh/include/asm/elf.h | |||
@@ -108,6 +108,15 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
108 | #define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC) | 108 | #define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC) |
109 | #define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC) | 109 | #define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC) |
110 | 110 | ||
111 | #if defined(CONFIG_SUPERH32) && \ | ||
112 | (!defined(CONFIG_SH_FPU) && !defined(CONFIG_SH_DSP)) | ||
113 | /* | ||
114 | * Enable dump using regset for general purpose registers, use this as | ||
115 | * the default once the FPU and DSP registers are moved over also. | ||
116 | */ | ||
117 | #define CORE_DUMP_USE_REGSET | ||
118 | #endif | ||
119 | |||
111 | #define USE_ELF_CORE_DUMP | 120 | #define USE_ELF_CORE_DUMP |
112 | #define ELF_FDPIC_CORE_EFLAGS EF_SH_FDPIC | 121 | #define ELF_FDPIC_CORE_EFLAGS EF_SH_FDPIC |
113 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 122 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |