]> xenbits.xensource.com Git - xen.git/commitdiff
arm/config: Declare ELFSIZE_64.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 5 Feb 2016 15:44:45 +0000 (10:44 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 12 Feb 2016 17:48:45 +0000 (12:48 -0500)
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 <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/include/asm-arm/config.h

index bd832dffba25a3358d3c7a369713fd55b230c0b1..a1b968d6db8126ee700a0a9f74a58621226a9473 100644 (file)
@@ -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