From 8bf2af7fc94c5a0fc0bd701908bb219d1edb50bd Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 26 Jul 2014 18:52:23 +0000 Subject: [PATCH] Add missing definition of ELF_MACHINE_OK, now used by gcore(1). --- sys/mips/include/elf.h | 2 ++ 1 file changed, 2 insertions(+) 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