Re: [PATCH v2 20/53] objtool/klp: Don't correlate .rodata.cst* constant pool objects
From: Miroslav Benes
Date: Tue May 05 2026 - 05:46:14 EST
On Thu, 30 Apr 2026 21:08:08 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> Clang aggregates UBSAN type descriptors into shared anonymous
> .data..L__unnamed_* sections. This data is used by UBSAN trap handlers.
>
> When a changed function has an UBSAN bounds check, klp-diff clones the
> entire UBSAN data section associated with the TU. Relocations within
> the cloned section that reference named rodata objects in .rodata.cst*
> (like 'exponent', 'pirq_ali_set.irqmap') become KLP relocations because
> those objects now get correlated.
>
> [...]
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
--
Miroslav