mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/arm/cpu: remove TARGET_BIG_ENDIAN dependency
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-8-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
3a2964ccb4
commit
911a63dd25
+2
-1
@@ -23,6 +23,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/log.h"
|
||||
#include "exec/page-vary.h"
|
||||
#include "exec/tswap.h"
|
||||
#include "target/arm/idau.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qapi/error.h"
|
||||
@@ -1171,7 +1172,7 @@ static void arm_disas_set_info(CPUState *cpu, disassemble_info *info)
|
||||
|
||||
info->endian = BFD_ENDIAN_LITTLE;
|
||||
if (bswap_code(sctlr_b)) {
|
||||
info->endian = TARGET_BIG_ENDIAN ? BFD_ENDIAN_LITTLE : BFD_ENDIAN_BIG;
|
||||
info->endian = target_big_endian() ? BFD_ENDIAN_LITTLE : BFD_ENDIAN_BIG;
|
||||
}
|
||||
info->flags &= ~INSN_ARM_BE32;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
||||
Reference in New Issue
Block a user