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/avr
Philippe Mathieu-Daudé 90f5c86acb hw/loader: Pass ELFDATA endian order argument to load_elf_as()
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

Note, this allow removing the target_words_bigendian() call
in the GENERIC_LOADER device, where we pass ELFDATANONE.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250127113824.50177-6-philmd@linaro.org>
3 weeks ago
..
Kconfig avr: switch boards to "default y" 10 months ago
arduino.c Do not include hw/boards.h if it's not really necessary 4 years ago
atmega.c Accel & Exec patch queue 2 months ago
atmega.h Use DECLARE_*CHECKER* macros 5 years ago
boot.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 3 weeks ago
boot.h
meson.build meson: convert hw/arch* 5 years ago