diff options
author | Peter Crosthwaite | 2016-03-04 12:30:21 +0100 |
---|---|---|
committer | Peter Maydell | 2016-03-04 12:30:21 +0100 |
commit | 9776f636455b6f0d9c14dce112242ed653f954b4 (patch) | |
tree | 9f171e349719c7d24aaf8a73f1499339a573f221 /tests/vhost-user-bridge.c | |
parent | loader: Add data swap option to load-elf (diff) | |
download | qemu-9776f636455b6f0d9c14dce112242ed653f954b4.tar.gz qemu-9776f636455b6f0d9c14dce112242ed653f954b4.tar.xz qemu-9776f636455b6f0d9c14dce112242ed653f954b4.zip |
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 <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: fix typo in comments]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/vhost-user-bridge.c')
0 files changed, 0 insertions, 0 deletions