Will Deacon 122e2fa0d3 arm64: module: ensure instruction is little-endian before manipulation
Relocations that require an instruction immediate to be re-encoded must
ensure that the instruction pattern is represented in a little-endian
format for the manipulation code to work correctly.

This patch converts the loaded instruction into native-endianess prior
to encoding and then converts back to little-endian byteorder before
updating memory.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Tested-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2013-11-05 10:23:13 +00:00
..
2013-07-04 14:40:26 +02:00
2012-12-05 11:26:49 +00:00
2013-10-25 11:33:21 +01:00
2013-10-25 11:33:20 +01:00
2013-02-14 09:17:29 -05:00
2013-02-14 09:17:29 -05:00