Re: [PATCH 07/48] objtool/klp: Don't correlate absolute symbols

From: Song Liu

Date: Fri Apr 24 2026 - 16:56:38 EST


On Wed, Apr 22, 2026 at 9:04 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Some arch/x86/crypto/*.S files define local .set/.equ constants that get
> duplicated in vmlinux.o. This causes klp-diff to fail with "Multiple
> correlation candidates" errors since it can't uniquely match these
> between orig and patched builds.
>
> Skip ABS symbols in dont_correlate(). They're purely compile-time
> assembly constants that are never referenced by relocations, so they
> don't need correlation.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>