patch-2.3.23 linux/include/asm-arm/elf.h

Next file: linux/include/asm-arm/hardware.h
Previous file: linux/include/asm-arm/current.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/elf.h linux/include/asm-arm/elf.h
@@ -10,8 +10,10 @@
 #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
 
 #define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
 typedef elf_greg_t elf_gregset_t[ELF_NGREG];
@@ -27,7 +29,11 @@
  * These are used to set parameters in the core dumps.
  */
 #define ELF_CLASS	ELFCLASS32
+#ifdef __ARMEB__
 #define ELF_DATA	ELFDATA2LSB;
+#else
+#define ELF_DATA	ELFDATA2LSB;
+#endif
 #define ELF_ARCH	EM_ARM
 
 #define USE_ELF_CORE_DUMP

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)