Add missing definition of ELF_MACHINE_OK, now used by gcore(1).

This commit is contained in:
Marcel Moolenaar 2014-07-26 18:52:23 +00:00
parent 510b2cb75c
commit 8bf2af7fc9

View File

@ -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