patch-2.1.38 linux/include/asm-sparc64/elf.h
Next file: linux/include/asm-sparc64/processor.h
Previous file: linux/include/asm-sparc64/current.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Wed May 14 15:01:21 1997
- Orig file:
v2.1.37/linux/include/asm-sparc64/elf.h
- Orig date:
Mon Apr 14 16:28:22 1997
diff -u --recursive --new-file v2.1.37/linux/include/asm-sparc64/elf.h linux/include/asm-sparc64/elf.h
@@ -1,4 +1,4 @@
-/* $Id: elf.h,v 1.3 1997/04/04 00:50:12 davem Exp $ */
+/* $Id: elf.h,v 1.4 1997/05/04 07:21:21 davem Exp $ */
#ifndef __ASM_SPARC64_ELF_H
#define __ASM_SPARC64_ELF_H
@@ -16,11 +16,6 @@
typedef unsigned long elf_fpregset_t;
/*
- * This is used to ensure we don't load something for the wrong architecture.
- */
-#define elf_check_arch(x) ((x) == EM_SPARC)
-
-/*
* These are used to set parameters in the core dumps.
*/
#ifndef ELF_ARCH
@@ -28,6 +23,11 @@
#define ELF_CLASS ELFCLASS64
#define ELF_DATA ELFDATA2MSB;
#endif
+
+/*
+ * This is used to ensure we don't load something for the wrong architecture.
+ */
+#define elf_check_arch(x) ((x) == ELF_ARCH) /* Might be EM_SPARC64 or EM_SPARC */
#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