Peter Crosthwaite 9776f63645 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>
2016-03-04 11:30:21 +00:00
..
2015-11-06 14:09:01 -05:00
2016-03-04 11:30:21 +00:00
2016-02-03 15:00:46 +00:00
2013-12-17 20:12:51 +00:00
2014-02-14 16:22:31 +01:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2015-04-13 11:37:10 +01:00