diff options
Diffstat (limited to 'include/asm-powerpc/elf.h')
-rw-r--r-- | include/asm-powerpc/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h index 6bd07ef78ac4..9080d85cb9d0 100644 --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h | |||
@@ -165,8 +165,10 @@ typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32]; | |||
165 | * This is used to ensure we don't load something for the wrong architecture. | 165 | * This is used to ensure we don't load something for the wrong architecture. |
166 | */ | 166 | */ |
167 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) | 167 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) |
168 | #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC) | ||
168 | 169 | ||
169 | #define USE_ELF_CORE_DUMP | 170 | #define USE_ELF_CORE_DUMP |
171 | #define CORE_DUMP_USE_REGSET | ||
170 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 172 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
171 | 173 | ||
172 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 174 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |