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

Go to the source code of this file.

Macros

#define ELF_CORE_EFLAGS   EF_CRIS_VARIANT_V32
 
#define elf_check_arch(x)
 
#define ELF_PLAT_INIT(_r, load_addr)
 
#define elf_read_implies_exec_binary(ex, have_pt_gnu_stack)   (!(have_pt_gnu_stack))
 
#define ELF_CORE_COPY_REGS(pr_reg, regs)
 

Macro Definition Documentation

#define elf_check_arch (   x)
Value:
((x)->e_machine == EM_CRIS \
&& ((((x)->e_flags & EF_CRIS_VARIANT_MASK) == EF_CRIS_VARIANT_V32 \
|| (((x)->e_flags & EF_CRIS_VARIANT_MASK) == EF_CRIS_VARIANT_COMMON_V10_V32))))

Definition at line 11 of file elf.h.

#define ELF_CORE_COPY_REGS (   pr_reg,
  regs 
)

Definition at line 41 of file elf.h.

#define ELF_CORE_EFLAGS   EF_CRIS_VARIANT_V32

Definition at line 6 of file elf.h.

#define ELF_PLAT_INIT (   _r,
  load_addr 
)
Value:
do { \
(_r)->r13 = 0; (_r)->r12 = 0; (_r)->r11 = 0; (_r)->r10 = 0; \
(_r)->r9 = 0; (_r)->r8 = 0; (_r)->r7 = 0; (_r)->r6 = 0; \
(_r)->r5 = 0; (_r)->r4 = 0; (_r)->r3 = 0; (_r)->r2 = 0; \
(_r)->r1 = 0; (_r)->r0 = 0; (_r)->mof = 0; (_r)->srp = 0; \
(_r)->acr = 0; \
} while (0)

Definition at line 21 of file elf.h.

#define elf_read_implies_exec_binary (   ex,
  have_pt_gnu_stack 
)    (!(have_pt_gnu_stack))

Definition at line 33 of file elf.h.