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/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>
3 weeks ago
..
Kconfig hw/char: Extract serial-mm 5 months ago
bootparam.h hw/xtensa: Include missing 'exec/tswap.h' header 2 months ago
meson.build meson: convert hw/arch* 5 years ago
mx_pic.c hw/xtensa: fix reset value of MIROUT register of MX PIC 3 years ago
pic_cpu.c target/xtensa: Include missing 'qemu/atomic.h' header 2 years ago
sim.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago
virt.c hw/pci-host/gpex: Allow more than 4 legacy IRQs 2 months ago
xtensa_memory.c Do not include cpu.h if it's not really necessary 4 years ago
xtensa_memory.h Include exec/memory.h slightly less 6 years ago
xtensa_sim.h hw/xtensa: add virt machine 5 years ago
xtfpga.c hw/loader: Pass ELFDATA endian order argument to load_elf() 3 weeks ago