Re: [PATCH v2 21/53] objtool/klp: Fix reloc corruption in convert_reloc_sym_to_secsym()

From: Song Liu

Date: Fri May 01 2026 - 06:39:12 EST


On Fri, May 1, 2026 at 5:10 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Use the section symbol's index instead of the old symbol's index when
> updating the ELF relocation entry in convert_reloc_sym_to_secsym().
>
> Found by Sashiko review.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>