]> Git Repo - qemu.git/commit
arm: boot: Support big-endian elfs
authorPeter Crosthwaite <[email protected]>
Fri, 4 Mar 2016 11:30:21 +0000 (11:30 +0000)
committerPeter Maydell <[email protected]>
Fri, 4 Mar 2016 11:30:21 +0000 (11:30 +0000)
commit9776f636455b6f0d9c14dce112242ed653f954b4
tree9f171e349719c7d24aaf8a73f1499339a573f221
parent7ef295ea5b412cbaf82f719ccd49efb51296e841
arm: boot: Support big-endian elfs

Support ARM big-endian ELF files in system-mode emulation. When loading
an elf, determine the endianness mode expected by the elf, and set the
relevant CPU state accordingly.

With this, big-endian modes are now fully supported via system-mode LE,
so there is no need to restrict the elf loading to the TARGET
endianness so the ifdeffery on TARGET_WORDS_BIGENDIAN goes away.

Signed-off-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
[PMM: fix typo in comments]
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/boot.c
include/hw/arm/arm.h
This page took 0.026816 seconds and 4 git commands to generate.