summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/elf.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-18 15:31:23 +0000
committerpeter <peter@FreeBSD.org>1998-10-18 15:31:23 +0000
commit6f3b588dc2451e3fc9999417e47754d521a12d8a (patch)
tree3131cf378fe0467530044c0e994c52f071bd4ca7 /sys/amd64/include/elf.h
parent2aa1d02474108a454794e112d1c28e8c59cb8799 (diff)
downloadFreeBSD-src-6f3b588dc2451e3fc9999417e47754d521a12d8a.zip
FreeBSD-src-6f3b588dc2451e3fc9999417e47754d521a12d8a.tar.gz
Add an ELF_MACHINE_OK() macro for compatability with the Alpha version.
Diffstat (limited to 'sys/amd64/include/elf.h')
-rw-r--r--sys/amd64/include/elf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
index 5605b6f..93f486b 100644
--- a/sys/amd64/include/elf.h
+++ b/sys/amd64/include/elf.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: elf.h,v 1.3 1998/08/16 03:03:31 jdp Exp $
+ * $Id: elf.h,v 1.4 1998/09/14 20:30:12 jdp Exp $
*/
#ifndef _MACHINE_ELF_H_
@@ -40,6 +40,8 @@
#define ELF_ARCH EM_386
+#define ELF_MACHINE_OK(x) ((x) == EM_386 || (x) == EM_486)
+
/*
* Auxiliary vector entries for passing information to the interpreter.
*
OpenPOWER on IntegriCloud