patch-2.0.11 linux/include/asm-sparc/elf.h
Next file: linux/include/linux/elf.h
Previous file: linux/include/asm-ppc/elf.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Aug 4 14:12:40 1996
- Orig file:
v2.0.10/linux/include/asm-sparc/elf.h
- Orig date:
Thu Apr 25 13:23:18 1996
diff -u --recursive --new-file v2.0.10/linux/include/asm-sparc/elf.h linux/include/asm-sparc/elf.h
@@ -15,6 +15,19 @@
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.
+ */
#define ELF_ARCH EM_SPARC
+#define ELF_CLASS ELFCLASS32
+#define ELF_DATA ELFDATA2MSB;
+
+#define USE_ELF_CORE_DUMP
+#define ELF_EXEC_PAGESIZE 4096
+
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov