Re: [PATCH v2 07/53] objtool/klp: Improve local label check
From: Song Liu
Date: Fri May 01 2026 - 06:27:22 EST
On Fri, May 1, 2026 at 5:08 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Clang emits various .L-prefixed local symbols beyond .Ltmp*, such as
> .L__const.* for local constant data. These are assembler-local labels
> not present in kallsyms, so they can never be resolved at module load
> time.
>
> Broaden the check from .Ltmp* to all .L* symbols so they get cloned into
> the patch module instead.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Acked-by: Song Liu <song@xxxxxxxxxx>