You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/m68k
Philippe Mathieu-Daudé adc1a4a26a hw/loader: Pass ELFDATA endian order argument to load_elf()
Rather than passing a boolean 'is_big_endian' argument,
directly pass the ELFDATA, which can be unspecified using
the ELFDATANONE value.

Update the call sites:
  0                 -> ELFDATA2LSB
  1                 -> ELFDATA2MSB
  TARGET_BIG_ENDIAN -> TARGET_BIG_ENDIAN ? ELFDATA2MSB : ELFDATA2LSB

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250127113824.50177-7-philmd@linaro.org>
3 weeks ago
..
Kconfig next-cube: add empty slots for unknown accesses to next.scr memory region 2 months ago
an5206.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago
bootinfo.h hw/m68k: Use explicit big-endian LD/ST API 5 months ago
mcf5206.c hw/m68k: Mark devices as big-endian 2 months ago
mcf5208.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago
mcf_intc.c hw/m68k: Mark devices as big-endian 2 months ago
meson.build q800: move GLUE device into separate q800-glue.c file 2 years ago
next-cube.c next-cube: add my copyright to the top of the file 2 months ago
next-kbd.c hw/m68k: Mark devices as big-endian 2 months ago
q800-glue.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
q800.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago
virt.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago