Re: [PATCH] objtool: Let --hacks=jump_label read special sections with alts.
From: Josh Poimboeuf
Date: Wed Oct 01 2025 - 19:30:01 EST
On Tue, Sep 23, 2025 at 12:49:41AM +0000, Dylan Hatch wrote:
> The objtool command line 'objtool --hacks=jump_label foo.o' on its own
> should be expected to rewrite jump labels to NOPs. This means the
> add_special_section_alts() code path needs to run when only this option
> is provided.
>
> This is mainly relevant in certain debugging situations, but could
> potentially also fix kernel builds in which objtool is run with
> --hacks=jump_label but without --orc, --stackval, --uaccess, or
> --hacks=noinstr.
>
> Fixes: de6fbcedf5ab ("objtool: Read special sections with alts only when specific options are selected")
> Signed-off-by: Dylan Hatch <dylanbhatch@xxxxxxxxxx>
Queued, thanks!
--
Josh