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>

Go to the source code of this file.

Macros

#define ELF_NGREG   58
 
#define ELF_NFPREG   1
 
#define elf_check_arch(x)   ((x)->e_machine == EM_TI_C6000)
 
#define elf_check_fdpic(x)   (1)
 
#define elf_check_const_displacement(x)   (0)
 
#define ELF_FDPIC_PLAT_INIT(_regs, _exec_map, _interp_map, _dynamic_addr)
 
#define ELF_FDPIC_CORE_EFLAGS   0
 
#define ELF_CORE_COPY_FPREGS(...)   0 /* No FPU regs to copy */
 
#define ELF_DATA   ELFDATA2MSB
 
#define ELF_CLASS   ELFCLASS32
 
#define ELF_ARCH   EM_TI_C6000
 
#define ELF_PLAT_INIT(_r)
 
#define USE_ELF_CORE_DUMP
 
#define ELF_EXEC_PAGESIZE   4096
 
#define ELF_CORE_COPY_REGS(_dest, _regs)
 
#define ELF_HWCAP   (0)
 
#define ELF_PLATFORM   (NULL)
 
#define SET_PERSONALITY(ex)   set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
 
#define SHT_C6000_UNWIND   0x70000001
 
#define SHT_C6000_PREEMPTMAP   0x70000002
 
#define SHT_C6000_ATTRIBUTES   0x70000003
 
#define DT_C6000_DSBT_BASE   0x70000000
 
#define DT_C6000_DSBT_SIZE   0x70000001
 
#define DT_C6000_PREEMPTMAP   0x70000002
 
#define DT_C6000_DSBT_INDEX   0x70000003
 
#define R_C6000_NONE   0
 
#define R_C6000_ABS32   1
 
#define R_C6000_ABS16   2
 
#define R_C6000_ABS8   3
 
#define R_C6000_PCR_S21   4
 
#define R_C6000_PCR_S12   5
 
#define R_C6000_PCR_S10   6
 
#define R_C6000_PCR_S7   7
 
#define R_C6000_ABS_S16   8
 
#define R_C6000_ABS_L16   9
 
#define R_C6000_ABS_H16   10
 
#define R_C6000_SBR_U15_B   11
 
#define R_C6000_SBR_U15_H   12
 
#define R_C6000_SBR_U15_W   13
 
#define R_C6000_SBR_S16   14
 
#define R_C6000_SBR_L16_B   15
 
#define R_C6000_SBR_L16_H   16
 
#define R_C6000_SBR_L16_W   17
 
#define R_C6000_SBR_H16_B   18
 
#define R_C6000_SBR_H16_H   19
 
#define R_C6000_SBR_H16_W   20
 
#define R_C6000_SBR_GOT_U15_W   21
 
#define R_C6000_SBR_GOT_L16_W   22
 
#define R_C6000_SBR_GOT_H16_W   23
 
#define R_C6000_DSBT_INDEX   24
 
#define R_C6000_PREL31   25
 
#define R_C6000_COPY   26
 
#define R_C6000_ALIGN   253
 
#define R_C6000_FPHEAD   254
 
#define R_C6000_NOCMP   255
 

Typedefs

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

Macro Definition Documentation

#define DT_C6000_DSBT_BASE   0x70000000

Definition at line 89 of file elf.h.

#define DT_C6000_DSBT_INDEX   0x70000003

Definition at line 92 of file elf.h.

#define DT_C6000_DSBT_SIZE   0x70000001

Definition at line 90 of file elf.h.

#define DT_C6000_PREEMPTMAP   0x70000002

Definition at line 91 of file elf.h.

#define ELF_ARCH   EM_TI_C6000

Definition at line 57 of file elf.h.

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

Definition at line 31 of file elf.h.

#define elf_check_const_displacement (   x)    (0)

Definition at line 34 of file elf.h.

#define elf_check_fdpic (   x)    (1)

Definition at line 33 of file elf.h.

#define ELF_CLASS   ELFCLASS32

Definition at line 56 of file elf.h.

#define ELF_CORE_COPY_FPREGS (   ...)    0 /* No FPU regs to copy */

Definition at line 45 of file elf.h.

#define ELF_CORE_COPY_REGS (   _dest,
  _regs 
)
Value:
memcpy((char *) &_dest, (char *) _regs, \
sizeof(struct pt_regs));

Definition at line 65 of file elf.h.

#define ELF_DATA   ELFDATA2MSB

Definition at line 53 of file elf.h.

#define ELF_EXEC_PAGESIZE   4096

Definition at line 63 of file elf.h.

#define ELF_FDPIC_CORE_EFLAGS   0

Definition at line 43 of file elf.h.

#define ELF_FDPIC_PLAT_INIT (   _regs,
  _exec_map,
  _interp_map,
  _dynamic_addr 
)
Value:
do { \
_regs->b4 = (_exec_map); \
_regs->a6 = (_interp_map); \
_regs->b6 = (_dynamic_addr); \
} while (0)

Definition at line 36 of file elf.h.

#define ELF_HWCAP   (0)

Definition at line 72 of file elf.h.

#define ELF_NFPREG   1

Definition at line 23 of file elf.h.

#define ELF_NGREG   58

Definition at line 22 of file elf.h.

#define ELF_PLAT_INIT (   _r)

Definition at line 60 of file elf.h.

#define ELF_PLATFORM   (NULL)

Definition at line 78 of file elf.h.

#define R_C6000_ABS16   2

Definition at line 97 of file elf.h.

#define R_C6000_ABS32   1

Definition at line 96 of file elf.h.

#define R_C6000_ABS8   3

Definition at line 98 of file elf.h.

#define R_C6000_ABS_H16   10

Definition at line 105 of file elf.h.

#define R_C6000_ABS_L16   9

Definition at line 104 of file elf.h.

#define R_C6000_ABS_S16   8

Definition at line 103 of file elf.h.

#define R_C6000_ALIGN   253

Definition at line 122 of file elf.h.

#define R_C6000_COPY   26

Definition at line 121 of file elf.h.

#define R_C6000_DSBT_INDEX   24

Definition at line 119 of file elf.h.

#define R_C6000_FPHEAD   254

Definition at line 123 of file elf.h.

#define R_C6000_NOCMP   255

Definition at line 124 of file elf.h.

#define R_C6000_NONE   0

Definition at line 95 of file elf.h.

#define R_C6000_PCR_S10   6

Definition at line 101 of file elf.h.

#define R_C6000_PCR_S12   5

Definition at line 100 of file elf.h.

#define R_C6000_PCR_S21   4

Definition at line 99 of file elf.h.

#define R_C6000_PCR_S7   7

Definition at line 102 of file elf.h.

#define R_C6000_PREL31   25

Definition at line 120 of file elf.h.

#define R_C6000_SBR_GOT_H16_W   23

Definition at line 118 of file elf.h.

#define R_C6000_SBR_GOT_L16_W   22

Definition at line 117 of file elf.h.

#define R_C6000_SBR_GOT_U15_W   21

Definition at line 116 of file elf.h.

#define R_C6000_SBR_H16_B   18

Definition at line 113 of file elf.h.

#define R_C6000_SBR_H16_H   19

Definition at line 114 of file elf.h.

#define R_C6000_SBR_H16_W   20

Definition at line 115 of file elf.h.

#define R_C6000_SBR_L16_B   15

Definition at line 110 of file elf.h.

#define R_C6000_SBR_L16_H   16

Definition at line 111 of file elf.h.

#define R_C6000_SBR_L16_W   17

Definition at line 112 of file elf.h.

#define R_C6000_SBR_S16   14

Definition at line 109 of file elf.h.

#define R_C6000_SBR_U15_B   11

Definition at line 106 of file elf.h.

#define R_C6000_SBR_U15_H   12

Definition at line 107 of file elf.h.

#define R_C6000_SBR_U15_W   13

Definition at line 108 of file elf.h.

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

Definition at line 80 of file elf.h.

#define SHT_C6000_ATTRIBUTES   0x70000003

Definition at line 86 of file elf.h.

#define SHT_C6000_PREEMPTMAP   0x70000002

Definition at line 85 of file elf.h.

#define SHT_C6000_UNWIND   0x70000001

Definition at line 84 of file elf.h.

#define USE_ELF_CORE_DUMP

Definition at line 62 of file elf.h.

Typedef Documentation

typedef unsigned long elf_fpreg_t

Definition at line 20 of file elf.h.

Definition at line 26 of file elf.h.

typedef unsigned long elf_greg_t

Definition at line 19 of file elf.h.

Definition at line 25 of file elf.h.