patch-1.3.94 linux/include/asm-m68k/elf.h

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

diff -u --recursive --new-file v1.3.93/linux/include/asm-m68k/elf.h linux/include/asm-m68k/elf.h
@@ -0,0 +1,22 @@
+#ifndef __ASMm68k_ELF_H
+#define __ASMm68k_ELF_H
+
+/*
+ * ELF register definitions..
+ */
+
+#include <asm/ptrace.h>
+
+typedef unsigned long elf_greg_t;
+
+#define ELF_NGREG 20 /* d1-d7/a0-a6/d0/usp/orig_d0/sr/pc/fmtvec */
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+/* XXX temporary */
+/*
+typedef unsigned long elf_fpregset_t;
+*/
+
+typedef struct user_m68kfp_struct elf_fpregset_t;
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this