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
   1                 -> ELFDATA2MSB
   TARGET_BIG_ENDIAN -> TARGET_BIG_ENDIAN ? ELFDATA2MSB : ELFDATA2LSB

Suggested-by: Richard Henderson<[email protected]>
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
Sorry, couldn't find good ways to split this patch...
---

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to