4 #include "linux/config.h"
6 extern long elf_aux_hwcap;
7 #define ELF_HWCAP (elf_aux_hwcap)
9 #define SET_PERSONALITY(ex, ibcs2) do ; while(0)
11 #define ELF_EXEC_PAGESIZE 4096
13 #define elf_check_arch(x) (1)
16 #define ELF_CLASS ELFCLASS64
18 #define ELF_CLASS ELFCLASS32
21 #define USE_ELF_CORE_DUMP
29 #define R_386_GLOB_DAT 6
30 #define R_386_JMP_SLOT 7
31 #define R_386_RELATIVE 8
32 #define R_386_GOTOFF 9
33 #define R_386_GOTPC 10
36 #define ELF_PLATFORM (0)
38 #define ELF_ET_DYN_BASE (0x08000000)
40 /* the following stolen from asm-ppc/elf.h */
41 #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */
42 #define ELF_NFPREG 33 /* includes fpscr */
43 /* General registers */
44 typedef unsigned long elf_greg_t;
45 typedef elf_greg_t elf_gregset_t[ELF_NGREG];
47 /* Floating point registers */
48 typedef double elf_fpreg_t;
49 typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
51 #define ELF_DATA ELFDATA2MSB
52 #define ELF_ARCH EM_PPC