target: Set disassemble_info::endian value for big-endian targets
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 26 Jan 2025 13:37:18 +0000 (14:37 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commit2136f7f1f95b26129922d05d233b2056b8cbff5c
tree2d77885e68896ecd4d5e7cea6dbdb571c6193106
parentb8b37affc74e24f1c11f7dfbba416965b805e123
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>
target/hppa/cpu.c
target/m68k/cpu.c
target/openrisc/cpu.c
target/s390x/cpu.c
target/sparc/cpu.c