Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 18:52:23 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269137 - head/sys/mips/include
Message-ID:  <201407261852.s6QIqN63005297@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407261852.s6QIqN63005297>