diff options
author | Christophe Leroy <[email protected]> | 2022-11-14 23:27:47 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-11-18 19:00:15 +1100 |
commit | 0646c28b417b7fe307c9da72ca1c508e43b57dc0 (patch) | |
tree | 6e655e14bea59180dfa17356ad5f6f993f1b2918 /scripts/generate_rust_analyzer.py | |
parent | efb11fdb3e1a9f694fa12b70b21e69e55ec59c36 (diff) |
objtool: Use target file endianness instead of a compiled constant
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.
Tested-by: Naveen N. Rao <[email protected]>
Reviewed-by: Naveen N. Rao <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions