qemu/hw/xtensa
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>
2025-01-31 19:36:44 +01:00
..
bootparam.h hw/xtensa: Include missing 'exec/tswap.h' header 2024-12-14 00:16:20 +01:00
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mx_pic.c hw/xtensa: fix reset value of MIROUT register of MX PIC 2022-05-06 15:27:40 -07:00
pic_cpu.c target/xtensa: Include missing 'qemu/atomic.h' header 2023-08-31 19:47:43 +02:00
sim.c hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00
virt.c hw/pci-host/gpex: Allow more than 4 legacy IRQs 2024-12-30 20:04:50 +01:00
xtensa_memory.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
xtensa_memory.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
xtensa_sim.h hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtfpga.c hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00