]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Keep GElf_Rel[a] structs synced
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:21:00 +0000 (10:21 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:18 +0000 (10:03 -0700)
commitfcf933552bebdecd72b324738c6635f46b0df569
tree379ff3720fe1aa901d71722711e00608267b246d
parent6342a20efbd8b70d169c325b2c27a8a8f96388d5
objtool: Keep GElf_Rel[a] structs synced

Keep the GElf_Rela structs synced with their 'struct reloc' counterparts
instead of having to go back and "rebuild" them later.

Link: https://lore.kernel.org/r/156d8a3e528a11e5c8577cf552890ed1f2b9567b.1685464332.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/elf.c