1 /* $Id: elf.h,v 1.3 1996/04/22 15:48:48 miguel Exp $ */ 2 #ifndef __ASMSPARC_ELF_H 3 #define __ASMSPARC_ELF_H 4 5 /* 6 * ELF register definitions.. 7 */ 8 9 #include <asm/ptrace.h> 10 11 typedef unsigned long elf_greg_t; 12 13 #define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) 14 typedef elf_greg_t elf_gregset_t[ELF_NGREG]; 15 16 typedef unsigned long elf_fpregset_t; 17 18 #define elf_check_arch(x) ((x) == EM_SPARC) 19 #define ELF_ARCH EM_SPARC 20 #endif