5 extern long elf_aux_hwcap;
6 #define ELF_HWCAP (elf_aux_hwcap)
8 #define SET_PERSONALITY(ex) do ; while(0)
10 #define ELF_EXEC_PAGESIZE 4096
12 #define elf_check_arch(x) (1)
15 #define ELF_CLASS ELFCLASS64
17 #define ELF_CLASS ELFCLASS32
20 #define USE_ELF_CORE_DUMP
28 #define R_386_GLOB_DAT 6
29 #define R_386_JMP_SLOT 7
30 #define R_386_RELATIVE 8
31 #define R_386_GOTOFF 9
32 #define R_386_GOTPC 10
35 #define ELF_PLATFORM (0)
37 #define ELF_ET_DYN_BASE (0x08000000)
39 /* the following stolen from asm-ppc/elf.h */
40 #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */
41 #define ELF_NFPREG 33 /* includes fpscr */
42 /* General registers */
43 typedef unsigned long elf_greg_t;
44 typedef elf_greg_t elf_gregset_t[ELF_NGREG];
46 /* Floating point registers */
47 typedef double elf_fpreg_t;
48 typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
50 #define ELF_DATA ELFDATA2MSB
51 #define ELF_ARCH EM_PPC