diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-26 14:37:18 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-06 15:46:18 +0100 |
| commit | 2136f7f1f95b26129922d05d233b2056b8cbff5c (patch) | |
| tree | 2d77885e68896ecd4d5e7cea6dbdb571c6193106 /target/hppa/cpu.c | |
| parent | b8b37affc74e24f1c11f7dfbba416965b805e123 (diff) | |
| download | focaccia-qemu-2136f7f1f95b26129922d05d233b2056b8cbff5c.tar.gz focaccia-qemu-2136f7f1f95b26129922d05d233b2056b8cbff5c.zip | |
target: Set disassemble_info::endian value for big-endian targets
Have the CPUClass::disas_set_info() callback set the disassemble_info::endian field for big-endian targets. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250210212931.62401-3-philmd@linaro.org>
Diffstat (limited to 'target/hppa/cpu.c')
| -rw-r--r-- | target/hppa/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index 4bb5cff624..d15f8c9c21 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -150,6 +150,7 @@ static int hppa_cpu_mmu_index(CPUState *cs, bool ifetch) static void hppa_cpu_disas_set_info(CPUState *cs, disassemble_info *info) { info->mach = bfd_mach_hppa20; + info->endian = BFD_ENDIAN_BIG; info->print_insn = print_insn_hppa; } |