summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent82f80ca6385ab2f0c85faab8b70119723032ad0a (diff)
Eleminate all occurances of EM_MIPS_RS4_BE; define EM_MIPS_RS3_LE.
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/elf.h15
-rw-r--r--include/asm-mips64/elf.h3
2 files changed, 3 insertions, 15 deletions
diff --git a/include/asm-mips/elf.h b/include/asm-mips/elf.h
index adaba397a..9f13f7299 100644
--- a/include/asm-mips/elf.h
+++ b/include/asm-mips/elf.h
@@ -25,8 +25,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
int __res = 1; \
struct elfhdr *__h = (hdr); \
\
- if ((__h->e_machine != EM_MIPS) && \
- (__h->e_machine != EM_MIPS_RS4_BE)) \
+ if (__h->e_machine != EM_MIPS) \
__res = 0; \
if (__h->e_flags & EF_MIPS_ARCH) \
__res = 0; \
@@ -35,17 +34,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
})
/* This one accepts IRIX binaries. */
-#define irix_elf_check_arch(hdr) \
-({ \
- int __res = 1; \
- struct elfhdr *__h = (hdr); \
- \
- if ((__h->e_machine != EM_MIPS) && \
- (__h->e_machine != EM_MIPS_RS4_BE)) \
- __res = 0; \
- \
- __res; \
-})
+#define irix_elf_check_arch(hdr) ((hdr)->e_machine == EM_MIPS)
/*
* These are used to set parameters in the core dumps.
diff --git a/include/asm-mips64/elf.h b/include/asm-mips64/elf.h
index 3ab76a80b..f1449ddeb 100644
--- a/include/asm-mips64/elf.h
+++ b/include/asm-mips64/elf.h
@@ -29,8 +29,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
int __res = 1; \
struct elfhdr *__h = (hdr); \
\
- if ((__h->e_machine != EM_MIPS) && \
- (__h->e_machine != EM_MIPS_RS4_BE)) \
+ if (__h->e_machine != EM_MIPS) \
__res = 0; \
if (sizeof(elf_caddr_t) == 8 && \
__h->e_ident[EI_CLASS] == ELFCLASS32) \