llext: elf.h: fix sign of the r_addend field of struct elf32_rela

The r_addend field is signed (it seems unused for now).

Fixes commit a9a82d557c ("llext: use elf_rela_t instead of elf_rel_t")

https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.reloc.html

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2024-03-10 04:32:58 +00:00 committed by Anas Nashif
parent 7eb1d3d57d
commit 03a79d6387

View file

@ -309,7 +309,7 @@ struct elf32_rel {
struct elf32_rela {
elf32_addr r_offset;
elf32_word r_info;
elf32_word r_addend;
elf32_sword r_addend;
};
/**