Skip to content
Commit e604410d authored by Marcus Comstedt's avatar Marcus Comstedt Committed by Andes
Browse files

riscv: tools: Fix prelink-riscv to work on big endian hosts



All ELF fields whose values are inspected by the code are converted to
CPU byteorder first.  Values which are copied verbatim (relocation
fixups) are not swapped to CPU byteorder and back as it is not needed.

Signed-off-by: default avatarMarcus Comstedt <marcus@mc.pp.se>
Cc: Rick Chen <rick@andestech.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
parent 88af42d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment