Message ID | 20160212141753.GC6596@localhost.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
>>> On 12.02.16 at 15:17, <konrad.wilk@oracle.com> wrote: > --- 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 64 > #endif Leaving the question - why twice instead of outside the #ifdef? Jan
On Fri, 12 Feb 2016, Jan Beulich wrote: > >>> On 12.02.16 at 15:17, <konrad.wilk@oracle.com> wrote: > > --- 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 64 > > #endif > > Leaving the question - why twice instead of outside the #ifdef? Right, please move it out of the #ifdef.
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index bd832df..d5321b4 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 64 #endif #define BYTES_PER_LONG (1 << LONG_BYTEORDER)