Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2015 19:34:45 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276785 - head/contrib/elftoolchain/libelf
Message-ID:  <201501071934.t07JYjTF066317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Jan  7 19:34:44 2015
New Revision: 276785
URL: https://svnweb.freebsd.org/changeset/base/276785

Log:
  libelf: Add arm64 config
  
  Upstream elftoolchain ticket: #470
  Submitted by:	Andrew Turner
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/contrib/elftoolchain/libelf/_libelf_config.h

Modified: head/contrib/elftoolchain/libelf/_libelf_config.h
==============================================================================
--- head/contrib/elftoolchain/libelf/_libelf_config.h	Wed Jan  7 19:15:11 2015	(r276784)
+++ head/contrib/elftoolchain/libelf/_libelf_config.h	Wed Jan  7 19:34:44 2015	(r276785)
@@ -53,6 +53,12 @@
 #define	LIBELF_BYTEORDER	ELFDATA2LSB
 #define	LIBELF_CLASS		ELFCLASS64
 
+#elif	defined(__aarch64__)
+
+#define	LIBELF_ARCH		EM_AARCH64
+#define	LIBELF_BYTEORDER	ELFDATA2LSB
+#define	LIBELF_CLASS		ELFCLASS64
+
 #elif	defined(__arm__)
 
 #define	LIBELF_ARCH		EM_ARM



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