From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH v3 2/5] arm/config: Declare ELFSIZE_[32|64] respectively. Date: Thu, 11 Feb 2016 22:08:24 -0500 Message-ID: <1455246507-5589-3-git-send-email-konrad.wilk@oracle.com> References: <1455246507-5589-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aU46C-0006XE-0Q for xen-devel@lists.xenproject.org; Fri, 12 Feb 2016 03:08:48 +0000 In-Reply-To: <1455246507-5589-1-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.campbell@citrix.com, ian.jackson@eu.citrix.com, jbeulich@suse.com, xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, wei.liu2@citrix.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org Otherwise any code that tries to use Elf_* macros instead of Elf32_ or Elf_64 fails to compile. CC: ian.campbell@citrix.com CC: wei.liu2@citrix.com CC: stefano.stabellini@citrix.com Signed-off-by: Konrad Rzeszutek Wilk --- xen/include/asm-arm/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index bd832df..4ea66bf 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -15,8 +15,10 @@ #if defined(CONFIG_ARM_64) # define LONG_BYTEORDER 3 +# define ELFSIZE 64 #else # define LONG_BYTEORDER 2 +# define ELFSIZE 32 #endif #define BYTES_PER_LONG (1 << LONG_BYTEORDER) -- 2.4.3