patch-1.3.7 linux/include/asm-i386/elf.h

Next file: linux/include/asm-i386/segment.h
Previous file: linux/include/asm-i386/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/include/asm-i386/elf.h linux/include/asm-i386/elf.h
@@ -0,0 +1,17 @@
+#ifndef __ASMi386_ELF_H
+#define __ASMi386_ELF_H
+
+/*
+ * ELF register definitions..
+ */
+
+#include <asm/ptrace.h>
+
+typedef unsigned long elf_greg_t;
+
+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+typedef struct user_i387_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