| extern long elf_aux_hwcap; |
| #define ELF_HWCAP (elf_aux_hwcap) |
| #define SET_PERSONALITY(ex, ibcs2) do ; while(0) |
| #define ELF_EXEC_PAGESIZE 4096 |
| #define elf_check_arch(x) (1) |
| #define ELF_CLASS ELFCLASS64 |
| #define ELF_CLASS ELFCLASS32 |
| #define USE_ELF_CORE_DUMP |
| #define ELF_ET_DYN_BASE (0x08000000) |
| /* the following stolen from asm-ppc/elf.h */ |
| #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ |
| #define ELF_NFPREG 33 /* includes fpscr */ |
| typedef unsigned long elf_greg_t; |
| typedef elf_greg_t elf_gregset_t[ELF_NGREG]; |
| /* Floating point registers */ |
| typedef double elf_fpreg_t; |
| typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; |
| #define ELF_DATA ELFDATA2MSB |