summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-05-10 03:55:19 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-05-10 03:55:19 +0000
commit9545e5c1388711b57b50e2f46c3e0a6d0821faad (patch)
treed2d127dabeac81cc32960eca437dcc081eab567f /arch
parent82f80ca6385ab2f0c85faab8b70119723032ad0a (diff)
Eleminate all occurances of EM_MIPS_RS4_BE; define EM_MIPS_RS3_LE.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/boot/mkboot.c5
-rw-r--r--arch/mips64/kernel/binfmt_elf32.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/arch/mips/boot/mkboot.c b/arch/mips/boot/mkboot.c
index 35612d248..9e587eb1a 100644
--- a/arch/mips/boot/mkboot.c
+++ b/arch/mips/boot/mkboot.c
@@ -5,7 +5,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (C) 1996 by Ralf Baechle
+ * Copyright (C) 1996, 2001 by Ralf Baechle
*
* This file is written in plain Kernighan & Ritchie C as it has to run
* on all crosscompile hosts no matter how braindead. This code might
@@ -80,7 +80,6 @@ typedef struct
* Acceptable machine type in e_machine.
*/
#define EM_MIPS 8 /* MIPS R3000 big-endian */
-#define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */
/*
* The type of ELF file we accept.
@@ -462,7 +461,7 @@ main(argc, argv)
fprintf(stderr, "Input file isn't a executable.\n");
exit(1);
}
- if(eh.e_machine != EM_MIPS && eh.e_machine != EM_MIPS_RS4_BE) {
+ if(eh.e_machine != EM_MIPS) {
fprintf(stderr, "Input file isn't a MIPS executable.\n");
exit(1);
}
diff --git a/arch/mips64/kernel/binfmt_elf32.c b/arch/mips64/kernel/binfmt_elf32.c
index fd68241f4..c49eca7c4 100644
--- a/arch/mips64/kernel/binfmt_elf32.c
+++ b/arch/mips64/kernel/binfmt_elf32.c
@@ -1,8 +1,8 @@
/*
* Support for 32-bit Linux/MIPS ELF binaries.
*
- * Copyright (C) 1999 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
+ * Copyright (C) 1999, 2001 Ralf Baechle
+ * Copyright (C) 1999, 2001 Silicon Graphics, Inc.
*
* Heavily inspired by the 32-bit Sparc compat code which is
* Copyright (C) 1995, 1996, 1997, 1998 David S. Miller (davem@redhat.com)
@@ -28,7 +28,7 @@ typedef double elf_fpreg_t;
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
#define elf_check_arch(x) \
- ((x)->e_machine == EM_MIPS || (x)->e_machine == EM_MIPS_RS4_BE)
+ ((x)->e_machine == EM_MIPS)
#define TASK32_SIZE 0x80000000UL
#undef ELF_ET_DYN_BASE