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

Go to the source code of this file.

Macros

#define EM_HEXAGON   164 /* QUALCOMM Hexagon */
 
#define R_HEXAGON_NONE   0
 
#define R_HEXAGON_B22_PCREL   1
 
#define R_HEXAGON_B15_PCREL   2
 
#define R_HEXAGON_B7_PCREL   3
 
#define R_HEXAGON_LO16   4
 
#define R_HEXAGON_HI16   5
 
#define R_HEXAGON_32   6
 
#define R_HEXAGON_16   7
 
#define R_HEXAGON_8   8
 
#define R_HEXAGON_GPREL16_0   9
 
#define R_HEXAGON_GPREL16_1   10
 
#define R_HEXAGON_GPREL16_2   11
 
#define R_HEXAGON_GPREL16_3   12
 
#define R_HEXAGON_HL16   13
 
#define R_HEXAGON_B13_PCREL   14
 
#define R_HEXAGON_B9_PCREL   15
 
#define R_HEXAGON_B32_PCREL_X   16
 
#define R_HEXAGON_32_6_X   17
 
#define R_HEXAGON_B22_PCREL_X   18
 
#define R_HEXAGON_B15_PCREL_X   19
 
#define R_HEXAGON_B13_PCREL_X   20
 
#define R_HEXAGON_B9_PCREL_X   21
 
#define R_HEXAGON_B7_PCREL_X   22
 
#define R_HEXAGON_16_X   23
 
#define R_HEXAGON_12_X   24
 
#define R_HEXAGON_11_X   25
 
#define R_HEXAGON_10_X   26
 
#define R_HEXAGON_9_X   27
 
#define R_HEXAGON_8_X   28
 
#define R_HEXAGON_7_X   29
 
#define R_HEXAGON_6_X   30
 
#define R_HEXAGON_32_PCREL   31
 
#define R_HEXAGON_COPY   32
 
#define R_HEXAGON_GLOB_DAT   33
 
#define R_HEXAGON_JMP_SLOT   34
 
#define R_HEXAGON_RELATIVE   35
 
#define R_HEXAGON_PLT_B22_PCREL   36
 
#define R_HEXAGON_GOTOFF_LO16   37
 
#define R_HEXAGON_GOTOFF_HI16   38
 
#define R_HEXAGON_GOTOFF_32   39
 
#define R_HEXAGON_GOT_LO16   40
 
#define R_HEXAGON_GOT_HI16   41
 
#define R_HEXAGON_GOT_32   42
 
#define R_HEXAGON_GOT_16   43
 
#define ELF_NGREG   (sizeof(elf_gregset_t)/sizeof(unsigned long))
 
#define ELF_CORE_COPY_REGS(DEST, REGS)
 
#define elf_check_arch(hdr)   ((hdr)->e_machine == EM_HEXAGON)
 
#define ELF_CLASS   ELFCLASS32
 
#define ELF_DATA   ELFDATA2LSB
 
#define ELF_ARCH   EM_HEXAGON
 
#define ELF_PLAT_INIT(regs, load_addr)   do { } while (0)
 
#define USE_ELF_CORE_DUMP
 
#define CORE_DUMP_USE_REGSET
 
#define ELF_EXEC_PAGESIZE   4096
 
#define ELF_ET_DYN_BASE   0x08000000UL
 
#define ELF_HWCAP   (0)
 
#define ELF_PLATFORM   (NULL)
 
#define ARCH_HAS_SETUP_ADDITIONAL_PAGES   1
 

Typedefs

typedef unsigned long elf_greg_t
 
typedef struct user_regs_struct elf_gregset_t
 
typedef unsigned long elf_fpregset_t
 

Functions

int arch_setup_additional_pages (struct linux_binprm *bprm, int uses_interp)
 

Macro Definition Documentation

#define ARCH_HAS_SETUP_ADDITIONAL_PAGES   1

Definition at line 224 of file elf.h.

#define CORE_DUMP_USE_REGSET

Definition at line 193 of file elf.h.

#define ELF_ARCH   EM_HEXAGON

Definition at line 169 of file elf.h.

#define elf_check_arch (   hdr)    ((hdr)->e_machine == EM_HEXAGON)

Definition at line 162 of file elf.h.

#define ELF_CLASS   ELFCLASS32

Definition at line 167 of file elf.h.

#define ELF_CORE_COPY_REGS (   DEST,
  REGS 
)

Definition at line 107 of file elf.h.

#define ELF_DATA   ELFDATA2LSB

Definition at line 168 of file elf.h.

#define ELF_ET_DYN_BASE   0x08000000UL

Definition at line 204 of file elf.h.

#define ELF_EXEC_PAGESIZE   4096

Definition at line 196 of file elf.h.

#define ELF_HWCAP   (0)

Definition at line 210 of file elf.h.

#define ELF_NGREG   (sizeof(elf_gregset_t)/sizeof(unsigned long))

Definition at line 98 of file elf.h.

#define ELF_PLAT_INIT (   regs,
  load_addr 
)    do { } while (0)

Definition at line 190 of file elf.h.

#define ELF_PLATFORM   (NULL)

Definition at line 217 of file elf.h.

#define EM_HEXAGON   164 /* QUALCOMM Hexagon */

Definition at line 30 of file elf.h.

#define R_HEXAGON_10_X   26

Definition at line 72 of file elf.h.

#define R_HEXAGON_11_X   25

Definition at line 71 of file elf.h.

#define R_HEXAGON_12_X   24

Definition at line 70 of file elf.h.

#define R_HEXAGON_16   7

Definition at line 49 of file elf.h.

#define R_HEXAGON_16_X   23

Definition at line 69 of file elf.h.

#define R_HEXAGON_32   6

Definition at line 48 of file elf.h.

#define R_HEXAGON_32_6_X   17

Definition at line 62 of file elf.h.

#define R_HEXAGON_32_PCREL   31

Definition at line 78 of file elf.h.

#define R_HEXAGON_6_X   30

Definition at line 76 of file elf.h.

#define R_HEXAGON_7_X   29

Definition at line 75 of file elf.h.

#define R_HEXAGON_8   8

Definition at line 50 of file elf.h.

#define R_HEXAGON_8_X   28

Definition at line 74 of file elf.h.

#define R_HEXAGON_9_X   27

Definition at line 73 of file elf.h.

#define R_HEXAGON_B13_PCREL   14

Definition at line 57 of file elf.h.

#define R_HEXAGON_B13_PCREL_X   20

Definition at line 66 of file elf.h.

#define R_HEXAGON_B15_PCREL   2

Definition at line 44 of file elf.h.

#define R_HEXAGON_B15_PCREL_X   19

Definition at line 65 of file elf.h.

#define R_HEXAGON_B22_PCREL   1

Definition at line 43 of file elf.h.

#define R_HEXAGON_B22_PCREL_X   18

Definition at line 64 of file elf.h.

#define R_HEXAGON_B32_PCREL_X   16

Definition at line 61 of file elf.h.

#define R_HEXAGON_B7_PCREL   3

Definition at line 45 of file elf.h.

#define R_HEXAGON_B7_PCREL_X   22

Definition at line 68 of file elf.h.

#define R_HEXAGON_B9_PCREL   15

Definition at line 59 of file elf.h.

#define R_HEXAGON_B9_PCREL_X   21

Definition at line 67 of file elf.h.

#define R_HEXAGON_COPY   32

Definition at line 79 of file elf.h.

#define R_HEXAGON_GLOB_DAT   33

Definition at line 80 of file elf.h.

#define R_HEXAGON_GOT_16   43

Definition at line 90 of file elf.h.

#define R_HEXAGON_GOT_32   42

Definition at line 89 of file elf.h.

#define R_HEXAGON_GOT_HI16   41

Definition at line 88 of file elf.h.

#define R_HEXAGON_GOT_LO16   40

Definition at line 87 of file elf.h.

#define R_HEXAGON_GOTOFF_32   39

Definition at line 86 of file elf.h.

#define R_HEXAGON_GOTOFF_HI16   38

Definition at line 85 of file elf.h.

#define R_HEXAGON_GOTOFF_LO16   37

Definition at line 84 of file elf.h.

#define R_HEXAGON_GPREL16_0   9

Definition at line 51 of file elf.h.

#define R_HEXAGON_GPREL16_1   10

Definition at line 52 of file elf.h.

#define R_HEXAGON_GPREL16_2   11

Definition at line 53 of file elf.h.

#define R_HEXAGON_GPREL16_3   12

Definition at line 54 of file elf.h.

#define R_HEXAGON_HI16   5

Definition at line 47 of file elf.h.

#define R_HEXAGON_HL16   13

Definition at line 55 of file elf.h.

#define R_HEXAGON_JMP_SLOT   34

Definition at line 81 of file elf.h.

#define R_HEXAGON_LO16   4

Definition at line 46 of file elf.h.

#define R_HEXAGON_NONE   0

Definition at line 42 of file elf.h.

#define R_HEXAGON_PLT_B22_PCREL   36

Definition at line 83 of file elf.h.

#define R_HEXAGON_RELATIVE   35

Definition at line 82 of file elf.h.

#define USE_ELF_CORE_DUMP

Definition at line 192 of file elf.h.

Typedef Documentation

typedef unsigned long elf_fpregset_t

Definition at line 101 of file elf.h.

typedef unsigned long elf_greg_t

Definition at line 95 of file elf.h.

Definition at line 97 of file elf.h.

Function Documentation

int arch_setup_additional_pages ( struct linux_binprm bprm,
int  uses_interp 
)

Definition at line 152 of file vdso.c.