Re: [PATCH 09/48] objtool/klp: Fix create_fake_symbols() skipping entsize-based sections

From: Miroslav Benes

Date: Tue Apr 28 2026 - 07:50:26 EST


On Wed, 22 Apr 2026 21:03:37 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> create_fake_symbols() has two phases: creating symbols from
> ANNOTATE_DATA_SPECIAL entries, and a fallback that uses sh_entsize for
> special sections like .static_call_sites.
>
> When .discard.annotate_data is absent, the function returns early,
> skipping the entsize fallback and silently allowing unsupported
> module-local static call keys through.
>
> [...]

Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>

--
Miroslav