From: Konrad Rzeszutek Wilk Date: Fri, 5 Feb 2016 15:44:45 +0000 (-0500) Subject: arm/config: Declare ELFSIZE_64. X-Git-Tag: 4.7.0-rc1~591 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bcfaea685d38c08e5eb90797512ab80f0bc69d0c;p=xen.git arm/config: Declare ELFSIZE_64. Otherwise any code that tries to use Elf_* macros would require us to use Elf64_* types instead of the more friendly Elf_ one. This is OK to do since 32-bit ARM uses LPAE mode. Acked-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index bd832dffba..a1b968d6db 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -25,6 +25,9 @@ /* xen_ulong_t is always 64 bits */ #define BITS_PER_XEN_ULONG 64 +/* And ELF files are also 64-bit. */ +#define ELFSIZE 64 + #define CONFIG_PAGING_ASSISTANCE 1 #define CONFIG_PAGING_LEVELS 3