Go to the documentation of this file. 1 #ifndef __ASM_AVR32_ELF_H
2 #define __ASM_AVR32_ELF_H
9 #define R_AVR32_32_PCREL 4
10 #define R_AVR32_16_PCREL 5
11 #define R_AVR32_8_PCREL 6
12 #define R_AVR32_DIFF32 7
13 #define R_AVR32_DIFF16 8
14 #define R_AVR32_DIFF8 9
15 #define R_AVR32_GOT32 10
16 #define R_AVR32_GOT16 11
17 #define R_AVR32_GOT8 12
18 #define R_AVR32_21S 13
19 #define R_AVR32_16U 14
20 #define R_AVR32_16S 15
22 #define R_AVR32_8S_EXT 17
23 #define R_AVR32_22H_PCREL 18
24 #define R_AVR32_18W_PCREL 19
25 #define R_AVR32_16B_PCREL 20
26 #define R_AVR32_16N_PCREL 21
27 #define R_AVR32_14UW_PCREL 22
28 #define R_AVR32_11H_PCREL 23
29 #define R_AVR32_10UW_PCREL 24
30 #define R_AVR32_9H_PCREL 25
31 #define R_AVR32_9UW_PCREL 26
32 #define R_AVR32_HI16 27
33 #define R_AVR32_LO16 28
34 #define R_AVR32_GOTPC 29
35 #define R_AVR32_GOTCALL 30
36 #define R_AVR32_LDA_GOT 31
37 #define R_AVR32_GOT21S 32
38 #define R_AVR32_GOT18SW 33
39 #define R_AVR32_GOT16S 34
40 #define R_AVR32_GOT7UW 35
41 #define R_AVR32_32_CPENT 36
42 #define R_AVR32_CPCALL 37
43 #define R_AVR32_16_CP 38
44 #define R_AVR32_9W_CP 39
45 #define R_AVR32_RELATIVE 40
46 #define R_AVR32_GLOB_DAT 41
47 #define R_AVR32_JMP_SLOT 42
48 #define R_AVR32_ALIGN 43
54 #include <asm/ptrace.h>
59 #define ELF_NGREG (sizeof (struct pt_regs) / sizeof (elf_greg_t))
67 #define elf_check_arch(x) ( (x)->e_machine == EM_AVR32 )
72 #define ELF_CLASS ELFCLASS32
73 #ifdef __LITTLE_ENDIAN__
74 #define ELF_DATA ELFDATA2LSB
76 #define ELF_DATA ELFDATA2MSB
78 #define ELF_ARCH EM_AVR32
80 #define ELF_EXEC_PAGESIZE 4096
87 #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
103 #define ELF_PLATFORM (NULL)
105 #define SET_PERSONALITY(ex) \
106 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))