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

From
Peter Zijlstra <peterz@infradead.org>
Date
2022-09-01 19:22:40
Also in
lkml
Reply to
Sathvika Vasireddy, 2022-08-29
On Mon, Aug 29, 2022 at 11:22:16AM +0530, Sathvika Vasireddy wrote:
From: Christophe Leroy <redacted>

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 <redacted>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Thread (64 messages) 64 messages, 10 authors, last reply 2023-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help