summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/elf.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-13 02:48:33 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-13 02:48:33 +0000
commit99fd54edfa5660e41201b2ec76dfdfec027c7ad6 (patch)
treec219639c05e93e70b2690336ce15456d5940dda9 /include/asm-mips/elf.h
parentb0ada65f83666487d2f09c7153b28b38fdbbfcd4 (diff)
Fix IRIX ELF, too.
Diffstat (limited to 'include/asm-mips/elf.h')
-rw-r--r--include/asm-mips/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips/elf.h b/include/asm-mips/elf.h
index 94f79a21f..725edbb39 100644
--- a/include/asm-mips/elf.h
+++ b/include/asm-mips/elf.h
@@ -38,7 +38,8 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
int __res = 0; \
struct elfhdr *__h = (hdr); \
\
- if ((__h->e_machine != EM_MIPS) && (__h->e_machine != EM_MIPS)) \
+ if ((__h->e_machine != EM_MIPS) && \
+ (__h->e_machine != EM_MIPS_RS4_BE)) \
__res = -ENOEXEC; \
\
__res; \