summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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; \