Go to the documentation of this file.
13 #ifndef __UNICORE_ELF_H__
14 #define __UNICORE_ELF_H__
16 #include <asm/hwcap.h>
21 #include <asm/ptrace.h>
26 #define ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t))
31 #define EM_UNICORE 110
33 #define R_UNICORE_NONE 0
34 #define R_UNICORE_PC24 1
35 #define R_UNICORE_ABS32 2
36 #define R_UNICORE_CALL 28
37 #define R_UNICORE_JUMP24 29
42 #define ELF_CLASS ELFCLASS32
43 #define ELF_DATA ELFDATA2LSB
44 #define ELF_ARCH EM_UNICORE
52 #define ELF_PLATFORM_SIZE 8
53 #define ELF_PLATFORM (elf_platform)
63 #define elf_check_arch elf_check_arch
67 #define ELF_CORE_COPY_TASK_REGS dump_task_regs
69 #define ELF_EXEC_PAGESIZE 4096
76 #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
81 #define ELF_PLAT_INIT(_r, load_addr) {(_r)->UCreg_00 = 0; }
84 #define SET_PERSONALITY(ex) elf_set_personality(&(ex))
88 #define arch_randomize_brk arch_randomize_brk
91 #define arch_setup_additional_pages(bprm, uses_interp) vectors_user_mapping()
92 #define ARCH_HAS_SETUP_ADDITIONAL_PAGES