commit | 424f04fcd9ab7b2c19521605827e2453dd79c3e2 | [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 | 26c8c1bd12617aab0480d0a559194e4e0631e637 [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>