|
From: | Richard Henderson |
Subject: | Re: [PATCH 4/6] hw/loader: Pass ELFDATA endian order argument to load_elf_ram_sym() |
Date: | Mon, 27 Jan 2025 13:22:35 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/27/25 03:38, Philippe Mathieu-Daudé wrote:
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 Suggested-by: Richard Henderson<richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- include/hw/loader.h | 4 ++-- hw/core/loader.c | 23 ++++++++++------------- hw/riscv/boot.c | 3 ++- 3 files changed, 14 insertions(+), 16 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |