Linux Kernel
3.7.1
|
#include <asm/ptrace.h>
#include <asm/user.h>
Go to the source code of this file.
Macros | |
#define | EF_FRV_GPR_MASK 0x00000003 /* mask for # of gprs */ |
#define | EF_FRV_GPR32 0x00000001 /* Only uses GR on 32-register */ |
#define | EF_FRV_GPR64 0x00000002 /* Only uses GR on 64-register */ |
#define | EF_FRV_FPR_MASK 0x0000000c /* mask for # of fprs */ |
#define | EF_FRV_FPR32 0x00000004 /* Only uses FR on 32-register */ |
#define | EF_FRV_FPR64 0x00000008 /* Only uses FR on 64-register */ |
#define | EF_FRV_FPR_NONE 0x0000000C /* Uses software floating-point */ |
#define | EF_FRV_DWORD_MASK 0x00000030 /* mask for dword support */ |
#define | EF_FRV_DWORD_YES 0x00000010 /* Assumes stack aligned to 8-byte boundaries. */ |
#define | EF_FRV_DWORD_NO 0x00000020 /* Assumes stack aligned to 4-byte boundaries. */ |
#define | EF_FRV_DOUBLE 0x00000040 /* Uses double instructions. */ |
#define | EF_FRV_MEDIA 0x00000080 /* Uses media instructions. */ |
#define | EF_FRV_PIC 0x00000100 /* Uses position independent code. */ |
#define | EF_FRV_NON_PIC_RELOCS 0x00000200 /* Does not use position Independent code. */ |
#define | EF_FRV_MULADD 0x00000400 /* -mmuladd */ |
#define | EF_FRV_BIGPIC 0x00000800 /* -fPIC */ |
#define | EF_FRV_LIBPIC 0x00001000 /* -mlibrary-pic */ |
#define | EF_FRV_G0 0x00002000 /* -G 0, no small data ptr */ |
#define | EF_FRV_NOPACK 0x00004000 /* -mnopack */ |
#define | EF_FRV_FDPIC 0x00008000 /* -mfdpic */ |
#define | EF_FRV_CPU_MASK 0xff000000 /* specific cpu bits */ |
#define | EF_FRV_CPU_GENERIC 0x00000000 /* Set CPU type is FR-V */ |
#define | EF_FRV_CPU_FR500 0x01000000 /* Set CPU type is FR500 */ |
#define | EF_FRV_CPU_FR300 0x02000000 /* Set CPU type is FR300 */ |
#define | EF_FRV_CPU_SIMPLE 0x03000000 /* SIMPLE */ |
#define | EF_FRV_CPU_TOMCAT 0x04000000 /* Tomcat, FR500 prototype */ |
#define | EF_FRV_CPU_FR400 0x05000000 /* Set CPU type is FR400 */ |
#define | EF_FRV_CPU_FR550 0x06000000 /* Set CPU type is FR550 */ |
#define | EF_FRV_CPU_FR405 0x07000000 /* Set CPU type is FR405 */ |
#define | EF_FRV_CPU_FR450 0x08000000 /* Set CPU type is FR450 */ |
#define | ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t)) |
#define | elf_check_fdpic(x) ((x)->e_flags & EF_FRV_FDPIC && !((x)->e_flags & EF_FRV_NON_PIC_RELOCS)) |
#define | elf_check_const_displacement(x) ((x)->e_flags & EF_FRV_PIC) |
#define | ELF_CLASS ELFCLASS32 |
#define | ELF_DATA ELFDATA2MSB |
#define | ELF_ARCH EM_FRV |
#define | ELF_PLAT_INIT(_r) |
#define | ELF_FDPIC_PLAT_INIT(_regs, _exec_map_addr, _interp_map_addr, _dynamic_addr) |
#define | CORE_DUMP_USE_REGSET |
#define | ELF_FDPIC_CORE_EFLAGS EF_FRV_FDPIC |
#define | ELF_EXEC_PAGESIZE 16384 |
#define | ELF_ET_DYN_BASE 0x08000000UL |
#define | ELF_HWCAP (0) |
#define | ELF_PLATFORM (NULL) |
#define | SET_PERSONALITY(ex) set_personality(PER_LINUX | (current->personality & (~PER_MASK))) |
Typedefs | |
typedef unsigned long | elf_greg_t |
typedef elf_greg_t | elf_gregset_t [ELF_NGREG] |
typedef struct user_fpmedia_regs | elf_fpregset_t |
Functions | |
int | elf_check_arch (const struct elf32_hdr *hdr) |
#define EF_FRV_CPU_FR300 0x02000000 /* Set CPU type is FR300 */ |
#define EF_FRV_CPU_FR400 0x05000000 /* Set CPU type is FR400 */ |
#define EF_FRV_CPU_FR405 0x07000000 /* Set CPU type is FR405 */ |
#define EF_FRV_CPU_FR450 0x08000000 /* Set CPU type is FR450 */ |
#define EF_FRV_CPU_FR500 0x01000000 /* Set CPU type is FR500 */ |
#define EF_FRV_CPU_FR550 0x06000000 /* Set CPU type is FR550 */ |
#define EF_FRV_CPU_GENERIC 0x00000000 /* Set CPU type is FR-V */ |
#define EF_FRV_CPU_TOMCAT 0x04000000 /* Tomcat, FR500 prototype */ |
#define EF_FRV_DOUBLE 0x00000040 /* Uses double instructions. */ |
#define EF_FRV_DWORD_MASK 0x00000030 /* mask for dword support */ |
#define EF_FRV_DWORD_NO 0x00000020 /* Assumes stack aligned to 4-byte boundaries. */ |
#define EF_FRV_DWORD_YES 0x00000010 /* Assumes stack aligned to 8-byte boundaries. */ |
#define EF_FRV_FPR32 0x00000004 /* Only uses FR on 32-register */ |
#define EF_FRV_FPR64 0x00000008 /* Only uses FR on 64-register */ |
#define EF_FRV_FPR_NONE 0x0000000C /* Uses software floating-point */ |
#define EF_FRV_GPR32 0x00000001 /* Only uses GR on 32-register */ |
#define EF_FRV_GPR64 0x00000002 /* Only uses GR on 64-register */ |
#define EF_FRV_NON_PIC_RELOCS 0x00000200 /* Does not use position Independent code. */ |
#define EF_FRV_PIC 0x00000100 /* Uses position independent code. */ |
#define elf_check_const_displacement | ( | x | ) | ((x)->e_flags & EF_FRV_PIC) |
#define elf_check_fdpic | ( | x | ) | ((x)->e_flags & EF_FRV_FDPIC && !((x)->e_flags & EF_FRV_NON_PIC_RELOCS)) |
#define ELF_CLASS ELFCLASS32 |
#define ELF_DATA ELFDATA2MSB |
#define ELF_FDPIC_CORE_EFLAGS EF_FRV_FDPIC |
#define ELF_FDPIC_PLAT_INIT | ( | _regs, | |
_exec_map_addr, | |||
_interp_map_addr, | |||
_dynamic_addr | |||
) |
#define ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t)) |
#define ELF_PLAT_INIT | ( | _r | ) |
#define SET_PERSONALITY | ( | ex | ) | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) |
typedef struct user_fpmedia_regs elf_fpregset_t |
typedef unsigned long elf_greg_t |
typedef elf_greg_t elf_gregset_t[ELF_NGREG] |