patch-2.1.34 linux/include/asm-sparc64/elf.h

Next file: linux/include/asm-sparc64/fbio.h
Previous file: linux/include/asm-sparc64/dma.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/include/asm-sparc64/elf.h linux/include/asm-sparc64/elf.h
@@ -1,4 +1,4 @@
-/* $Id: elf.h,v 1.2 1996/12/26 13:25:25 davem Exp $ */
+/* $Id: elf.h,v 1.3 1997/04/04 00:50:12 davem Exp $ */
 #ifndef __ASM_SPARC64_ELF_H
 #define __ASM_SPARC64_ELF_H
 
@@ -23,9 +23,11 @@
 /*
  * These are used to set parameters in the core dumps.
  */
+#ifndef ELF_ARCH
 #define ELF_ARCH	EM_SPARC64
 #define ELF_CLASS	ELFCLASS64
 #define ELF_DATA	ELFDATA2MSB;
+#endif
 
 #define USE_ELF_CORE_DUMP
 #define ELF_EXEC_PAGESIZE	4096

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov