On 05/03/2025 16.39, Philippe Mathieu-Daudé wrote:
Introduce legacy_binary_endianness() to return the endianness
of a legacy binary, and legacy_binary_is_big_endian() being
equivalent of compile time TARGET_BIG_ENDIAN definition.
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
include/qemu/legacy_binary_info.h | 8 ++++++
legacy_binary_info.c | 43 +++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
We already have target_words_bigendian() ... why do we need yet another
function?
Thomas