qemu/hw/loongarch
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
..
acpi-build.c hw/loongarch/virt: Checkpatch cleanup 2025-01-13 17:16:04 +01:00
boot.c hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00
fw_cfg.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
fw_cfg.h hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState 2024-05-09 00:07:21 +02:00
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
meson.build hw/loongarch/fw_cfg: Build in common_ss[] 2024-10-16 16:06:07 +08:00
virt.c hw/intc/loongarch_ipi: Remove property num-cpu 2025-01-15 14:31:19 +08:00