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

Miroslav Benes
2026-04-28T11:46:08Z

On Wed, 22 Apr 2026 21:03:37 -0700, Josh Poimboeuf <jpoimboe@kernel.org> 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@suse.cz>

--
Miroslav