diff --git a/sys/mips/include/elf.h b/sys/mips/include/elf.h index 427906d8fe7e..c1e792bf5a35 100644 --- a/sys/mips/include/elf.h +++ b/sys/mips/include/elf.h @@ -77,6 +77,8 @@ #define ELF_ARCH EM_MIPS #define ELF_ARCH32 EM_MIPS +#define ELF_MACHINE_OK(x) ((x) == ELF_ARCH) + /* Define "machine" characteristics */ #if __ELF_WORD_SIZE == 32 #define ELF_TARG_CLASS ELFCLASS32