Re: [PATCH 03/48] objtool/klp: Don't correlate __ADDRESSABLE() symbols
From: Miroslav Benes
Date: Fri Apr 24 2026 - 05:36:30 EST
On Fri, 24 Apr 2026, Miroslav Benes wrote:
> On Wed, 22 Apr 2026 21:03:31 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> > Symbols created by __ADDRESSABLE() are only used to convince the
> > toolchain not to optimize out the referenced symbol.
>
> Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
Looking at it again... wouldn't it be better to address this in
is_special_section() which is looking at .discard.addressable already
(only the outcome is different)?
Miroslav