diff options
author | Roland McGrath <roland@redhat.com> | 2007-12-20 06:58:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-07 04:40:17 -0500 |
commit | 819703872d5955b2e764c3fd9243ba9fa1a6875a (patch) | |
tree | 4c9153438ff3f2ecd1e6b8ad35885336b048be4d | |
parent | fa8f5cb0c980e9fe3e04bc937fbd13417b52c046 (diff) |
[POWERPC] Switch to using user_regset-based core dumps
This switches powerpc to using the user_regset-based code for ELF core
dumps. The core dumps come out exactly the same either way, except that
the NT_PPC_VMX note is now omitted for any thread that never touched its
Altivec registers (thread_struct.vr_used).
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | include/asm-powerpc/elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h index 6bd07ef78ac4..fd9bf8b39424 100644 --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h | |||
@@ -167,6 +167,7 @@ typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32]; | |||
167 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) | 167 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) |
168 | 168 | ||
169 | #define USE_ELF_CORE_DUMP | 169 | #define USE_ELF_CORE_DUMP |
170 | #define CORE_DUMP_USE_REGSET | ||
170 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 171 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
171 | 172 | ||
172 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 173 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |