Re: [PATCH 14/18] objtool: Add toolchain hacks cmdline option

From: Peter Zijlstra
Date: Thu Apr 14 2022 - 04:09:59 EST


On Wed, Apr 13, 2022 at 04:19:49PM -0700, Josh Poimboeuf wrote:
> Objtool secretly does a few awful hacks to overcome toolchain
> limitations. Make those hacks explicit (and optional for other arches)
> by associating them with a new '--hacks' cmdline option and
> corresponding CONFIG_HAVE_TOOLCHAIN_HACKS.

Should we either clarify the specific hacks done, or split this in two
options?

--hack-jump_label
--hack-noinstr