commit | c7be441465094e5ffce2f4205ea887676965d0be | [log] [tgz] |
---|---|---|
author | Jim Wilson <jim.wilson@linaro.org> | Thu Jun 30 09:10:41 2016 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Thu Jun 30 09:10:41 2016 +0100 |
tree | da0afb6462365bfbfb9d7d1f52ca56887096f419 | |
parent | 6e2565079204ae2d2c0a5fa15fcd233e9c614f0b [diff] |
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.