sh: Add DSP registers to regset interface.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2008-09-12 22:42:10 +09:00
parent 6bff1592d8
commit 5dadb34394
4 changed files with 65 additions and 31 deletions

View File

@@ -108,11 +108,10 @@ typedef struct user_fpu_struct elf_fpregset_t;
#define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC)
#define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC)
#if defined(CONFIG_SUPERH32) && \
(!defined(CONFIG_SH_FPU) && !defined(CONFIG_SH_DSP))
#if defined(CONFIG_SUPERH32) && !defined(CONFIG_SH_FPU)
/*
* Enable dump using regset for general purpose registers, use this as
* the default once the FPU and DSP registers are moved over also.
* the default once the FPU registers are moved over also.
*/
#define CORE_DUMP_USE_REGSET
#endif