Re: [PATCH v3 0/4] Remove dependency of check subcmd upon orc

From: Julien Thierry
Date: Thu Jul 30 2020 - 10:42:17 EST




On 7/30/20 3:06 PM, Josh Poimboeuf wrote:
On Thu, Jul 30, 2020 at 10:41:39AM +0100, Julien Thierry wrote:
Hi,

Matt Helsley's change[1] provided a base framework to opt-in/out
objtool subcommands at compile time. This makes it easier for
architectures to port objtool, one subcommand at a time.

Orc generation relies on the check operation implementation. However,
the way this is done causes the check implementation to depend on the
implementation of orc generation functions to call if orc generation is
requested. This means that in order to implement check subcmd, orc
subcmd also need to be implemented.

These patches aim at removing that dependency, having orc subcmd
being built on top of the check subcmd.


Changes since v2 [2]:
- Rebased on recent tip/objtool/core

tip/objtool/core is slightly outdated, I got a conflict with patch 1.

I guess linus/master would be best.

It looks like linus/master is missing the rela -> reloc rework that is present in tip/objtool/core, which will conflict with other patches from this series.

How shall I proceed?

--
Julien Thierry