Re: [PATCH v2 09/16] objtool: Use target file endianness instead of a compiled constant

2022-09-01 Thread Peter Zijlstra
On Mon, Aug 29, 2022 at 11:22:16AM +0530, Sathvika Vasireddy wrote: > From: Christophe Leroy > > Some architectures like powerpc support both endianness, it's > therefore not possible to fix the endianness via arch/endianness.h > because there is no easy way to get the target endianness at >

[PATCH v2 09/16] objtool: Use target file endianness instead of a compiled constant

2022-08-28 Thread Sathvika Vasireddy
From: Christophe Leroy Some architectures like powerpc support both endianness, it's therefore not possible to fix the endianness via arch/endianness.h because there is no easy way to get the target endianness at build time. Use the endianness recorded in the file objtool is working on.