summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/elf.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
commit546db14ee74118296f425f3b91634fb767d67290 (patch)
tree22b613a3da8d4bf663eec5e155af01b87fdf9094 /include/asm-arm/elf.h
parent1e25e41c4f5474e14452094492dbc169b800e4c8 (diff)
Merge with Linux 2.3.23. The new bootmem stuff has broken various
platforms. At this time I've only verified that IP22 support compiles and IP27 actually works.
Diffstat (limited to 'include/asm-arm/elf.h')
-rw-r--r--include/asm-arm/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h
index c25a02479..a182127fd 100644
--- a/include/asm-arm/elf.h
+++ b/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 @@ typedef struct { void *null; } elf_fpregset_t;
* 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