summaryrefslogtreecommitdiff
path: root/include/linux/elf-em.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-30 00:10:50 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-30 00:10:50 +0400
commit7ae7cdab97f33d6a5d42664b411be52b46572e5b (patch)
tree8ea89f9fc29658680c8713c3ed9a1b1e2101dd50 /include/linux/elf-em.h
parent0ef831b1ff1ff0bcd8bf5b1890913ef6bb263250 (diff)
downloadlinux-7ae7cdab97f33d6a5d42664b411be52b46572e5b.tar.xz
elf-em.h: Define and explain both EM_MIPS_RS3_LE and EM_MIPS_RS4_BE.
They have been obsoleted by the ELF header EI_CLASS and EI_DATA fields in combination with e_flags. Afaics EM_MIPS_RS3_LE and EM_MIPS_RS4_BE never had any practical relevance. Binutils will not produce such binaries and the kernel will not accept them as MIPS binaries. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/linux/elf-em.h')
-rw-r--r--include/linux/elf-em.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/elf-em.h b/include/linux/elf-em.h
index 114a96d25652..6a5796c81c90 100644
--- a/include/linux/elf-em.h
+++ b/include/linux/elf-em.h
@@ -11,7 +11,12 @@
#define EM_486 6 /* Perhaps disused */
#define EM_860 7
#define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */
+ /* Next two are historical and binaries and
+ modules of these types will be rejected by
+ Linux. */
+#define EM_MIPS_RS3_LE 10 /* MIPS R3000 little-endian */
#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */
+
#define EM_PARISC 15 /* HPPA */
#define EM_SPARC32PLUS 18 /* Sun's "v8plus" */
#define EM_PPC 20 /* PowerPC */