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 <linux/utsname.h>
#include <asm/auxvec.h>
#include <asm/ptrace.h>
#include <asm/user.h>

Go to the source code of this file.

Macros

#define EF_SH_PIC   0x100 /* -fpic */
 
#define EF_SH_FDPIC   0x8000 /* -mfdpic */
 
#define R_SH_NONE   0
 
#define R_SH_DIR32   1
 
#define R_SH_REL32   2
 
#define R_SH_DIR8WPN   3
 
#define R_SH_IND12W   4
 
#define R_SH_DIR8WPL   5
 
#define R_SH_DIR8WPZ   6
 
#define R_SH_DIR8BP   7
 
#define R_SH_DIR8W   8
 
#define R_SH_DIR8L   9
 
#define R_SH_SWITCH16   25
 
#define R_SH_SWITCH32   26
 
#define R_SH_USES   27
 
#define R_SH_COUNT   28
 
#define R_SH_ALIGN   29
 
#define R_SH_CODE   30
 
#define R_SH_DATA   31
 
#define R_SH_LABEL   32
 
#define R_SH_SWITCH8   33
 
#define R_SH_GNU_VTINHERIT   34
 
#define R_SH_GNU_VTENTRY   35
 
#define R_SH_TLS_GD_32   144
 
#define R_SH_TLS_LD_32   145
 
#define R_SH_TLS_LDO_32   146
 
#define R_SH_TLS_IE_32   147
 
#define R_SH_TLS_LE_32   148
 
#define R_SH_TLS_DTPMOD32   149
 
#define R_SH_TLS_DTPOFF32   150
 
#define R_SH_TLS_TPOFF32   151
 
#define R_SH_GOT32   160
 
#define R_SH_PLT32   161
 
#define R_SH_COPY   162
 
#define R_SH_GLOB_DAT   163
 
#define R_SH_JMP_SLOT   164
 
#define R_SH_RELATIVE   165
 
#define R_SH_GOTOFF   166
 
#define R_SH_GOTPC   167
 
#define R_SH_GOT20   201
 
#define R_SH_GOTOFF20   202
 
#define R_SH_GOTFUNCDESC   203
 
#define R_SH_GOTFUNCDESC20   204
 
#define R_SH_GOTOFFFUNCDESC   205
 
#define R_SH_GOTOFFFUNCDESC20   206
 
#define R_SH_FUNCDESC   207
 
#define R_SH_FUNCDESC_VALUE   208
 
#define R_SH_IMM_LOW16   246
 
#define R_SH_IMM_LOW16_PCREL   247
 
#define R_SH_IMM_MEDLOW16   248
 
#define R_SH_IMM_MEDLOW16_PCREL   249
 
#define R_SH_NUM   256
 
#define ELF_NGREG   (sizeof (struct pt_regs) / sizeof(elf_greg_t))
 
#define ELF_CLASS   ELFCLASS32
 
#define ELF_DATA   ELFDATA2MSB
 
#define ELF_ARCH   EM_SH
 

Typedefs

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

Macro Definition Documentation

#define EF_SH_FDPIC   0x8000 /* -mfdpic */

Definition at line 11 of file elf.h.

#define EF_SH_PIC   0x100 /* -fpic */

Definition at line 10 of file elf.h.

#define ELF_ARCH   EM_SH

Definition at line 90 of file elf.h.

#define ELF_CLASS   ELFCLASS32

Definition at line 84 of file elf.h.

#define ELF_DATA   ELFDATA2MSB

Definition at line 88 of file elf.h.

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

Definition at line 76 of file elf.h.

#define R_SH_ALIGN   29

Definition at line 28 of file elf.h.

#define R_SH_CODE   30

Definition at line 29 of file elf.h.

#define R_SH_COPY   162

Definition at line 45 of file elf.h.

#define R_SH_COUNT   28

Definition at line 27 of file elf.h.

#define R_SH_DATA   31

Definition at line 30 of file elf.h.

#define R_SH_DIR32   1

Definition at line 15 of file elf.h.

#define R_SH_DIR8BP   7

Definition at line 21 of file elf.h.

#define R_SH_DIR8L   9

Definition at line 23 of file elf.h.

#define R_SH_DIR8W   8

Definition at line 22 of file elf.h.

#define R_SH_DIR8WPL   5

Definition at line 19 of file elf.h.

#define R_SH_DIR8WPN   3

Definition at line 17 of file elf.h.

#define R_SH_DIR8WPZ   6

Definition at line 20 of file elf.h.

#define R_SH_FUNCDESC   207

Definition at line 59 of file elf.h.

#define R_SH_FUNCDESC_VALUE   208

Definition at line 60 of file elf.h.

#define R_SH_GLOB_DAT   163

Definition at line 46 of file elf.h.

#define R_SH_GNU_VTENTRY   35

Definition at line 34 of file elf.h.

#define R_SH_GNU_VTINHERIT   34

Definition at line 33 of file elf.h.

#define R_SH_GOT20   201

Definition at line 53 of file elf.h.

#define R_SH_GOT32   160

Definition at line 43 of file elf.h.

#define R_SH_GOTFUNCDESC   203

Definition at line 55 of file elf.h.

#define R_SH_GOTFUNCDESC20   204

Definition at line 56 of file elf.h.

#define R_SH_GOTOFF   166

Definition at line 49 of file elf.h.

#define R_SH_GOTOFF20   202

Definition at line 54 of file elf.h.

#define R_SH_GOTOFFFUNCDESC   205

Definition at line 57 of file elf.h.

#define R_SH_GOTOFFFUNCDESC20   206

Definition at line 58 of file elf.h.

#define R_SH_GOTPC   167

Definition at line 50 of file elf.h.

#define R_SH_IMM_LOW16   246

Definition at line 63 of file elf.h.

#define R_SH_IMM_LOW16_PCREL   247

Definition at line 64 of file elf.h.

#define R_SH_IMM_MEDLOW16   248

Definition at line 65 of file elf.h.

#define R_SH_IMM_MEDLOW16_PCREL   249

Definition at line 66 of file elf.h.

#define R_SH_IND12W   4

Definition at line 18 of file elf.h.

#define R_SH_JMP_SLOT   164

Definition at line 47 of file elf.h.

#define R_SH_LABEL   32

Definition at line 31 of file elf.h.

#define R_SH_NONE   0

Definition at line 14 of file elf.h.

#define R_SH_NUM   256

Definition at line 68 of file elf.h.

#define R_SH_PLT32   161

Definition at line 44 of file elf.h.

#define R_SH_REL32   2

Definition at line 16 of file elf.h.

#define R_SH_RELATIVE   165

Definition at line 48 of file elf.h.

#define R_SH_SWITCH16   25

Definition at line 24 of file elf.h.

#define R_SH_SWITCH32   26

Definition at line 25 of file elf.h.

#define R_SH_SWITCH8   33

Definition at line 32 of file elf.h.

#define R_SH_TLS_DTPMOD32   149

Definition at line 40 of file elf.h.

#define R_SH_TLS_DTPOFF32   150

Definition at line 41 of file elf.h.

#define R_SH_TLS_GD_32   144

Definition at line 35 of file elf.h.

#define R_SH_TLS_IE_32   147

Definition at line 38 of file elf.h.

#define R_SH_TLS_LD_32   145

Definition at line 36 of file elf.h.

#define R_SH_TLS_LDO_32   146

Definition at line 37 of file elf.h.

#define R_SH_TLS_LE_32   148

Definition at line 39 of file elf.h.

#define R_SH_TLS_TPOFF32   151

Definition at line 42 of file elf.h.

#define R_SH_USES   27

Definition at line 26 of file elf.h.

Typedef Documentation

Definition at line 79 of file elf.h.

typedef unsigned long elf_greg_t

Definition at line 74 of file elf.h.

Definition at line 77 of file elf.h.