RE: [RFC PATCH v2 2/2] objtool: fix x86 orc generation on big endian cross compiles

2020-09-30 Thread David Laight
From: Vasily Gorbik > Sent: 30 September 2020 13:24 > > Correct objtool orc generation endianness problems to enable fully > functional x86 cross compiles on big endian hardware. > ... > + > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __LITTLE_ENDIAN : > defined(__LITTLE_ENDIAN) > + > struct o

[RFC PATCH v2 2/2] objtool: fix x86 orc generation on big endian cross compiles

2020-09-30 Thread Vasily Gorbik
Correct objtool orc generation endianness problems to enable fully functional x86 cross compiles on big endian hardware. Signed-off-by: Vasily Gorbik --- arch/x86/include/asm/orc_types.h | 24 tools/arch/x86/include/asm/orc_types.h | 24 to