patch-2.4.22 linux-2.4.22/include/asm-arm/elf.h
Next file: linux-2.4.22/include/asm-arm/hardware/ep7312.h
Previous file: linux-2.4.22/include/asm-arm/ecard.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-arm/elf.h
- Orig date:
2001-04-12 12:20:31.000000000 -0700
diff -urN linux-2.4.21/include/asm-arm/elf.h linux-2.4.22/include/asm-arm/elf.h
@@ -6,11 +6,11 @@
*/
#include <asm/ptrace.h>
+#include <asm/user.h>
#include <asm/proc/elf.h>
#include <asm/procinfo.h>
typedef unsigned long elf_greg_t;
-typedef unsigned long elf_freg_t[3];
#define EM_ARM 40
#define EF_ARM_APCS26 0x08
@@ -18,7 +18,7 @@
#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-typedef struct { void *null; } elf_fpregset_t;
+typedef struct user_fp elf_fpregset_t;
/*
* This is used to ensure we don't load something for the wrong architecture.
@@ -53,7 +53,6 @@
/* This yields a mask that user programs can use to figure out what
instruction set this cpu supports. */
-extern unsigned int elf_hwcap;
#define ELF_HWCAP (elf_hwcap)
/* This yields a string that ld.so will use to load implementation
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)