On 13/11/24 17:01, Richard Henderson wrote:
In be8 mode, instructions are little-endian.
In be32 mode, instructions are big-endian.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2333
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
Based-on: 20241112203757.804320-1-richard.hender...@linaro.org
("linux-user: Fix elf load and vdso alignment")
---
linux-user/elfload.c | 31 +++++++++++++++++----
linux-user/arm/Makefile.vdso | 9 ++++--
linux-user/arm/meson.build | 13 +++++++--
linux-user/arm/vdso-be32.so | Bin 0 -> 2648 bytes
linux-user/arm/{vdso-be.so => vdso-be8.so} | Bin 2648 -> 2648 bytes
5 files changed, 41 insertions(+), 12 deletions(-)
create mode 100755 linux-user/arm/vdso-be32.so
rename linux-user/arm/{vdso-be.so => vdso-be8.so} (95%)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>