[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <oiq5rp7vmbfav7gus5kv6pytqhzypiw2tzgeyuyi3pootzk4kt@mjkj72xszhe7>
Date: Wed, 1 Oct 2025 16:29:50 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Dylan Hatch <dylanbhatch@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Roman Gushchin <roman.gushchin@...ux.dev>, Weinan Liu <wnliu@...gle.com>, Naveen N Rao <naveen@...nel.org>,
Christophe Leroy <christophe.leroy@...roup.eu>, Sathvika Vasireddy <sv@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] objtool: Let --hacks=jump_label read special sections
with alts.
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@...gle.com>
Queued, thanks!
--
Josh
Powered by blists - more mailing lists