patch-1.3.96 linux/include/asm-sparc/elf.h

Next file: linux/include/asm-sparc/head.h
Previous file: linux/include/asm-sparc/ecc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.95/linux/include/asm-sparc/elf.h linux/include/asm-sparc/elf.h
@@ -1,4 +1,4 @@
-/* $Id: elf.h,v 1.2 1995/11/25 02:31:40 davem Exp $ */
+/* $Id: elf.h,v 1.3 1996/04/22 15:48:48 miguel Exp $ */
 #ifndef __ASMSPARC_ELF_H
 #define __ASMSPARC_ELF_H
 
@@ -15,4 +15,6 @@
 
 typedef unsigned long elf_fpregset_t;
 
+#define elf_check_arch(x) ((x) == EM_SPARC)
+#define ELF_ARCH EM_SPARC
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this