Add support for simulating big-endian AArch64 binaries.
authorJim Wilson <jim.wilson@linaro.org>
Thu, 30 Jun 2016 08:10:41 +0000 (09:10 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Jun 2016 08:10:41 +0000 (09:10 +0100)
commitc7be441465094e5ffce2f4205ea887676965d0be
treeda0afb6462365bfbfb9d7d1f52ca56887096f419
parent6e2565079204ae2d2c0a5fa15fcd233e9c614f0b
Add support for simulating big-endian AArch64 binaries.

* cpustate.h: Include config.h.
(union GRegisterValue): Add WORDS_BIGENDIAN check.  For big endian code
use anonymous structs to align members.
* simulator.c (aarch64_step): Use sim_core_read_buffer and
endian_le2h_4 to read instruction from pc.
sim/aarch64/ChangeLog
sim/aarch64/cpustate.h
sim/aarch64/simulator.c