commit | 6155b0b8dd0a8528f57cfe013db9b57a34f4f01a | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovpanait@gmail.com> | Sat Mar 11 19:38:35 2023 +0200 |
committer | Michal Simek <michal.simek@amd.com> | Mon Mar 13 11:46:17 2023 +0100 |
tree | d6daf542cd056c0359e2aece99d40274ae7b3f04 | |
parent | e4ff8098f5b53644bd7b0c9fad0bab504f62f5d8 [diff] |
tools: relocate-rela: introduce elf16_to_cpu() and elf32_to_cpu() Add elf16_to_cpu() and elf32_to_cpu() functions that allow to read data in both big-endian and little-endian formats. Reviewed-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Link: https://lore.kernel.org/r/20230311173838.521804-2-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>