[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YxEGaOAasQLMUcBN@hirez.programming.kicks-ass.net>
Date: Thu, 1 Sep 2022 21:22:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Sathvika Vasireddy <sv@...ux.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org, aik@...abs.ru, mpe@...erman.id.au,
mingo@...hat.com, christophe.leroy@...roup.eu, rostedt@...dmis.org,
mbenes@...e.cz, npiggin@...il.com, chenzhongjin@...wei.com,
naveen.n.rao@...ux.vnet.ibm.com
Subject: Re: [PATCH v2 09/16] objtool: Use target file endianness instead of
a compiled constant
On Mon, Aug 29, 2022 at 11:22:16AM +0530, Sathvika Vasireddy wrote:
> From: Christophe Leroy <christophe.leroy@...roup.eu>
>
> 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.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@...roup.eu>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Powered by blists - more mailing lists