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

Go to the source code of this file.

Macros

#define ELF_NGREG   (sizeof(struct pt_regs) / sizeof(elf_greg_t))
 
#define EM_UNICORE   110
 
#define R_UNICORE_NONE   0
 
#define R_UNICORE_PC24   1
 
#define R_UNICORE_ABS32   2
 
#define R_UNICORE_CALL   28
 
#define R_UNICORE_JUMP24   29
 
#define ELF_CLASS   ELFCLASS32
 
#define ELF_DATA   ELFDATA2LSB
 
#define ELF_ARCH   EM_UNICORE
 
#define ELF_PLATFORM_SIZE   8
 
#define ELF_PLATFORM   (elf_platform)
 
#define elf_check_arch   elf_check_arch
 
#define ELF_CORE_COPY_TASK_REGS   dump_task_regs
 
#define ELF_EXEC_PAGESIZE   4096
 
#define ELF_ET_DYN_BASE   (2 * TASK_SIZE / 3)
 
#define ELF_PLAT_INIT(_r, load_addr)   {(_r)->UCreg_00 = 0; }
 
#define SET_PERSONALITY(ex)   elf_set_personality(&(ex))
 
#define arch_randomize_brk   arch_randomize_brk
 
#define arch_setup_additional_pages(bprm, uses_interp)   vectors_user_mapping()
 
#define ARCH_HAS_SETUP_ADDITIONAL_PAGES
 

Typedefs

typedef unsigned long elf_greg_t
 
typedef unsigned long elf_freg_t [3]
 
typedef elf_greg_t elf_gregset_t [ELF_NGREG]
 
typedef struct fp_state elf_fpregset_t
 

Functions

int elf_check_arch (const struct elf32_hdr *)
 
int dump_task_regs (struct task_struct *t, elf_gregset_t *elfregs)
 
void elf_set_personality (const struct elf32_hdr *)
 
unsigned long arch_randomize_brk (struct mm_struct *mm)
 
int vectors_user_mapping (void)
 

Variables

char elf_platform []
 

Macro Definition Documentation

#define ARCH_HAS_SETUP_ADDITIONAL_PAGES

Definition at line 92 of file elf.h.

#define arch_randomize_brk   arch_randomize_brk

Definition at line 88 of file elf.h.

#define arch_setup_additional_pages (   bprm,
  uses_interp 
)    vectors_user_mapping()

Definition at line 91 of file elf.h.

#define ELF_ARCH   EM_UNICORE

Definition at line 44 of file elf.h.

#define elf_check_arch   elf_check_arch

Definition at line 63 of file elf.h.

#define ELF_CLASS   ELFCLASS32

Definition at line 42 of file elf.h.

#define ELF_CORE_COPY_TASK_REGS   dump_task_regs

Definition at line 67 of file elf.h.

#define ELF_DATA   ELFDATA2LSB

Definition at line 43 of file elf.h.

#define ELF_ET_DYN_BASE   (2 * TASK_SIZE / 3)

Definition at line 76 of file elf.h.

#define ELF_EXEC_PAGESIZE   4096

Definition at line 69 of file elf.h.

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

Definition at line 26 of file elf.h.

#define ELF_PLAT_INIT (   _r,
  load_addr 
)    {(_r)->UCreg_00 = 0; }

Definition at line 81 of file elf.h.

#define ELF_PLATFORM   (elf_platform)

Definition at line 53 of file elf.h.

#define ELF_PLATFORM_SIZE   8

Definition at line 52 of file elf.h.

#define EM_UNICORE   110

Definition at line 31 of file elf.h.

#define R_UNICORE_ABS32   2

Definition at line 35 of file elf.h.

#define R_UNICORE_CALL   28

Definition at line 36 of file elf.h.

#define R_UNICORE_JUMP24   29

Definition at line 37 of file elf.h.

#define R_UNICORE_NONE   0

Definition at line 33 of file elf.h.

#define R_UNICORE_PC24   1

Definition at line 34 of file elf.h.

#define SET_PERSONALITY (   ex)    elf_set_personality(&(ex))

Definition at line 84 of file elf.h.

Typedef Documentation

Definition at line 29 of file elf.h.

typedef unsigned long elf_freg_t[3]

Definition at line 24 of file elf.h.

typedef unsigned long elf_greg_t

Definition at line 23 of file elf.h.

Definition at line 27 of file elf.h.

Function Documentation

unsigned long arch_randomize_brk ( struct mm_struct mm)

Definition at line 454 of file process.c.

int dump_task_regs ( struct task_struct t,
elf_gregset_t elfregs 
)

Definition at line 412 of file process.c.

int elf_check_arch ( const struct elf32_hdr )

Definition at line 8 of file elf.c.

void elf_set_personality ( const struct elf32_hdr )

Definition at line 41 of file elf.c.

int vectors_user_mapping ( void  )

Definition at line 347 of file process.c.

Variable Documentation

char elf_platform[]

Definition at line 133 of file setup.c.