commit | a5018b0e6f036a598e55371e9135e287dc3b25e5 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Wed Jun 28 16:55:52 2017 +0200 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jun 29 11:02:41 2017 +0100 |
tree | c82e2ea54b3216b940a861428d450c979fe11ae7 | |
parent | 0607512d0a8d7fac86667466b884095e04b10a59 [diff] |
arm64: fix endianness annotation for debug-monitors.c Here we're reading thumb or ARM instructions, which are always stored in memory in little-endian order. These values are thus correctly converted to native order but the intermediate value should be annotated as for little-endian values. Fix this by declaring the intermediate var as __le32 or __le16. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>