Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
elf.h File Reference
#include <asm/ptrace.h>
#include <asm/user.h>

Go to the source code of this file.

Macros

#define ELF_NGREG   (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))
 
#define elf_check_arch(x)   ((x)->e_machine == EM_H8_300)
 
#define ELF_CLASS   ELFCLASS32
 
#define ELF_DATA   ELFDATA2MSB
 
#define ELF_ARCH   EM_H8_300
 
#define ELF_PLAT_INIT(_r)   _r->er1 = 0
 
#define ELF_EXEC_PAGESIZE   4096
 
#define ELF_ET_DYN_BASE   0xD0000000UL
 
#define ELF_HWCAP   (0)
 
#define ELF_PLATFORM   (NULL)
 
#define SET_PERSONALITY(ex)   set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
 
#define R_H8_NONE   0
 
#define R_H8_DIR32   1
 
#define R_H8_DIR32_28   2
 
#define R_H8_DIR32_24   3
 
#define R_H8_DIR32_16   4
 
#define R_H8_DIR32U   6
 
#define R_H8_DIR32U_28   7
 
#define R_H8_DIR32U_24   8
 
#define R_H8_DIR32U_20   9
 
#define R_H8_DIR32U_16   10
 
#define R_H8_DIR24   11
 
#define R_H8_DIR24_20   12
 
#define R_H8_DIR24_16   13
 
#define R_H8_DIR24U   14
 
#define R_H8_DIR24U_20   15
 
#define R_H8_DIR24U_16   16
 
#define R_H8_DIR16   17
 
#define R_H8_DIR16U   18
 
#define R_H8_DIR16S_32   19
 
#define R_H8_DIR16S_28   20
 
#define R_H8_DIR16S_24   21
 
#define R_H8_DIR16S_20   22
 
#define R_H8_DIR16S   23
 
#define R_H8_DIR8   24
 
#define R_H8_DIR8U   25
 
#define R_H8_DIR8Z_32   26
 
#define R_H8_DIR8Z_28   27
 
#define R_H8_DIR8Z_24   28
 
#define R_H8_DIR8Z_20   29
 
#define R_H8_DIR8Z_16   30
 
#define R_H8_PCREL16   31
 
#define R_H8_PCREL8   32
 
#define R_H8_BPOS   33
 
#define R_H8_PCREL32   34
 
#define R_H8_GOT32O   35
 
#define R_H8_GOT16O   36
 
#define R_H8_DIR16A8   59
 
#define R_H8_DIR16R8   60
 
#define R_H8_DIR24A8   61
 
#define R_H8_DIR24R8   62
 
#define R_H8_DIR32A16   63
 
#define R_H8_ABS32   65
 
#define R_H8_ABS32A16   127
 

Typedefs

typedef unsigned long elf_greg_t
 
typedef elf_greg_t elf_gregset_t [ELF_NGREG]
 
typedef unsigned long elf_fpregset_t
 

Macro Definition Documentation

#define ELF_ARCH   EM_H8_300

Definition at line 27 of file elf.h.

#define elf_check_arch (   x)    ((x)->e_machine == EM_H8_300)

Definition at line 20 of file elf.h.

#define ELF_CLASS   ELFCLASS32

Definition at line 25 of file elf.h.

#define ELF_DATA   ELFDATA2MSB

Definition at line 26 of file elf.h.

#define ELF_ET_DYN_BASE   0xD0000000UL

Definition at line 44 of file elf.h.

#define ELF_EXEC_PAGESIZE   4096

Definition at line 37 of file elf.h.

#define ELF_HWCAP   (0)

Definition at line 49 of file elf.h.

#define ELF_NGREG   (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))

Definition at line 13 of file elf.h.

#define ELF_PLAT_INIT (   _r)    _r->er1 = 0

Definition at line 35 of file elf.h.

#define ELF_PLATFORM   (NULL)

Definition at line 55 of file elf.h.

#define R_H8_ABS32   65

Definition at line 101 of file elf.h.

#define R_H8_ABS32A16   127

Definition at line 102 of file elf.h.

#define R_H8_BPOS   33

Definition at line 92 of file elf.h.

#define R_H8_DIR16   17

Definition at line 76 of file elf.h.

#define R_H8_DIR16A8   59

Definition at line 96 of file elf.h.

#define R_H8_DIR16R8   60

Definition at line 97 of file elf.h.

#define R_H8_DIR16S   23

Definition at line 82 of file elf.h.

#define R_H8_DIR16S_20   22

Definition at line 81 of file elf.h.

#define R_H8_DIR16S_24   21

Definition at line 80 of file elf.h.

#define R_H8_DIR16S_28   20

Definition at line 79 of file elf.h.

#define R_H8_DIR16S_32   19

Definition at line 78 of file elf.h.

#define R_H8_DIR16U   18

Definition at line 77 of file elf.h.

#define R_H8_DIR24   11

Definition at line 70 of file elf.h.

#define R_H8_DIR24_16   13

Definition at line 72 of file elf.h.

#define R_H8_DIR24_20   12

Definition at line 71 of file elf.h.

#define R_H8_DIR24A8   61

Definition at line 98 of file elf.h.

#define R_H8_DIR24R8   62

Definition at line 99 of file elf.h.

#define R_H8_DIR24U   14

Definition at line 73 of file elf.h.

#define R_H8_DIR24U_16   16

Definition at line 75 of file elf.h.

#define R_H8_DIR24U_20   15

Definition at line 74 of file elf.h.

#define R_H8_DIR32   1

Definition at line 61 of file elf.h.

#define R_H8_DIR32_16   4

Definition at line 64 of file elf.h.

#define R_H8_DIR32_24   3

Definition at line 63 of file elf.h.

#define R_H8_DIR32_28   2

Definition at line 62 of file elf.h.

#define R_H8_DIR32A16   63

Definition at line 100 of file elf.h.

#define R_H8_DIR32U   6

Definition at line 65 of file elf.h.

#define R_H8_DIR32U_16   10

Definition at line 69 of file elf.h.

#define R_H8_DIR32U_20   9

Definition at line 68 of file elf.h.

#define R_H8_DIR32U_24   8

Definition at line 67 of file elf.h.

#define R_H8_DIR32U_28   7

Definition at line 66 of file elf.h.

#define R_H8_DIR8   24

Definition at line 83 of file elf.h.

#define R_H8_DIR8U   25

Definition at line 84 of file elf.h.

#define R_H8_DIR8Z_16   30

Definition at line 89 of file elf.h.

#define R_H8_DIR8Z_20   29

Definition at line 88 of file elf.h.

#define R_H8_DIR8Z_24   28

Definition at line 87 of file elf.h.

#define R_H8_DIR8Z_28   27

Definition at line 86 of file elf.h.

#define R_H8_DIR8Z_32   26

Definition at line 85 of file elf.h.

#define R_H8_GOT16O   36

Definition at line 95 of file elf.h.

#define R_H8_GOT32O   35

Definition at line 94 of file elf.h.

#define R_H8_NONE   0

Definition at line 60 of file elf.h.

#define R_H8_PCREL16   31

Definition at line 90 of file elf.h.

#define R_H8_PCREL32   34

Definition at line 93 of file elf.h.

#define R_H8_PCREL8   32

Definition at line 91 of file elf.h.

#define SET_PERSONALITY (   ex)    set_personality(PER_LINUX | (current->personality & (~PER_MASK)))

Definition at line 57 of file elf.h.

Typedef Documentation

typedef unsigned long elf_fpregset_t

Definition at line 15 of file elf.h.

typedef unsigned long elf_greg_t

Definition at line 11 of file elf.h.

Definition at line 14 of file elf.h.