"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "08fe4db170b4193603d9d31f40ebaf652d07ac9c"
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>
Loading
Please register or sign in to comment