patch-2.0.11 linux/include/asm-ppc/elf.h
Next file: linux/include/asm-sparc/elf.h
Previous file: linux/include/asm-mips/elf.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Aug 4 14:12:40 1996
- Orig file:
v2.0.10/linux/include/asm-ppc/elf.h
- Orig date:
Sat Nov 25 19:49:06 1995
diff -u --recursive --new-file v2.0.10/linux/include/asm-ppc/elf.h linux/include/asm-ppc/elf.h
@@ -14,4 +14,17 @@
typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
+#define elf_check_arch(x) ((x) == EM_PPC)
+
+/*
+ * These are used to set parameters in the core dumps.
+ * FIXME(eric) I don't know what the correct endianness to use is.
+ */
+#define ELF_CLASS ELFCLASS32
+#define ELF_DATA ELFDATA2LSB;
+#define ELF_ARCH EM_PPC
+
+#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