svn commit: r269137 - head/sys/mips/include
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jul 26 18:52:24 UTC 2014
Author: marcel
Date: Sat Jul 26 18:52:23 2014
New Revision: 269137
URL: http://svnweb.freebsd.org/changeset/base/269137
Log:
Add missing definition of ELF_MACHINE_OK, now used by gcore(1).
Modified:
head/sys/mips/include/elf.h
Modified: head/sys/mips/include/elf.h
==============================================================================
--- head/sys/mips/include/elf.h Sat Jul 26 18:19:43 2014 (r269136)
+++ head/sys/mips/include/elf.h Sat Jul 26 18:52:23 2014 (r269137)
@@ -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
More information about the svn-src-all
mailing list