svn commit: r285052 - stable/10/sys/mips/include

Ed Maste emaste at FreeBSD.org
Thu Jul 2 18:27:05 UTC 2015


Author: emaste
Date: Thu Jul  2 18:27:04 2015
New Revision: 285052
URL: https://svnweb.freebsd.org/changeset/base/285052

Log:
  MFC r269137 by marcel:
  
    Add missing definition of ELF_MACHINE_OK, now used by gcore(1).
  
  PR:	201204

Modified:
  stable/10/sys/mips/include/elf.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/mips/include/elf.h
==============================================================================
--- stable/10/sys/mips/include/elf.h	Thu Jul  2 18:10:41 2015	(r285051)
+++ stable/10/sys/mips/include/elf.h	Thu Jul  2 18:27:04 2015	(r285052)
@@ -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-stable mailing list