diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2019-08-02 19:45:15 +0200 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2019-08-15 13:42:28 +0800 |
commit | e604410d3eafc77e1b9a7fbb0580a23e528f0037 (patch) | |
tree | d7c21bba43f08632871ff0978eed7cbba46f5a73 /tools/rkcommon.h | |
parent | 88af42d3deed0fa705706b134cc50485f3bddcef (diff) | |
download | u-boot-e604410d3eafc77e1b9a7fbb0580a23e528f0037.tar.gz |
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: Marcus Comstedt <marcus@mc.pp.se>
Cc: Rick Chen <rick@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'tools/rkcommon.h')
0 files changed, 0 insertions, 0 deletions