Re: [PATCH 16/48] objtool/klp: Fix relocation conversion failures for R_X86_64_NONE

From: Miroslav Benes

Date: Tue Apr 28 2026 - 08:53:28 EST


On Wed, 22 Apr 2026 21:03:44 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> Objtool has some hacks which NOP out certain calls/jumps and replace
> their relocations with R_X86_64_NONE. The klp-diff relocation
> extraction code will error out when trying to copy these relocations due
> to their negative addend, which would only makes sense for a PC-relative
> branch instruction. Just ignore them.
>
>
> [...]

Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>

--
Miroslav