patch-2.0.11 linux/include/asm-m68k/elf.h
Next file: linux/include/asm-mips/elf.h
Previous file: linux/include/asm-i386/system.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Aug 4 14:12:40 1996
- Orig file:
v2.0.10/linux/include/asm-m68k/elf.h
- Orig date:
Mon May 6 12:44:32 1996
diff -u --recursive --new-file v2.0.10/linux/include/asm-m68k/elf.h linux/include/asm-m68k/elf.h
@@ -14,4 +14,20 @@
typedef struct user_m68kfp_struct elf_fpregset_t;
+/*
+ * This is used to ensure we don't load something for the wrong architecture.
+ */
+#define elf_check_arch(x) ((x) == EM_M68K)
+
+/*
+ * 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 ELFDATA2MSB;
+#define ELF_ARCH EM_M68K
+
+#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