diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-05-10 03:55:19 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-05-10 03:55:19 +0000 |
commit | 9545e5c1388711b57b50e2f46c3e0a6d0821faad (patch) | |
tree | d2d127dabeac81cc32960eca437dcc081eab567f /include/asm-mips/elf.h | |
parent | 82f80ca6385ab2f0c85faab8b70119723032ad0a (diff) |
Eleminate all occurances of EM_MIPS_RS4_BE; define EM_MIPS_RS3_LE.
Diffstat (limited to 'include/asm-mips/elf.h')
-rw-r--r-- | include/asm-mips/elf.h | 15 |
1 files changed, 2 insertions, 13 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. |