diff options
| author | Ovidiu Panait <[email protected]> | 2023-03-11 19:38:34 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2023-03-13 11:46:17 +0100 |
| commit | 26c8c1bd12617aab0480d0a559194e4e0631e637 (patch) | |
| tree | 0f496f69c9fe27a3fdcec2b5cc850a874b873b0b /include/android_bootloader_message.h | |
| parent | ebea05e10ea8d838163273ebb4f538febc299cce (diff) | |
tools: relocate-rela: adjust le64_to_cpu -> le32_to_cpu in decode_elf32()
The sh_addr/sh_offset/sh_size fields in Elf32_Shdr are 32-bits wide, so
use le32_to_cpu() instead of the 64-bit variant.
Fixes: 5e0e1a86d327 ("tools: relocate-rela: Fix ELF decoding on big-endian hosts")
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Ovidiu Panait <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/android_bootloader_message.h')
0 files changed, 0 insertions, 0 deletions
