qemu/hw/sparc
Paolo Bonzini 134ab17fff load_aout: replace bswap_needed with big_endian
Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument.  Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-03-21 12:51:16 +01:00
..
Kconfig sparc: switch boards to "default y" 2024-05-03 15:47:48 +02:00
leon3.c hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
sun4m.c load_aout: replace bswap_needed with big_endian 2025-03-21 12:51:16 +01:00
sun4m_iommu.c hw/sparc: Mark devices as big-endian 2024-12-31 21:21:34 +01:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00