[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200608184924.GA1284251@rlwimi.vmware.com>
Date: Mon, 8 Jun 2020 11:49:24 -0700
From: Matt Helsley <mhelsley@...are.com>
To: Julien Thierry <jthierry@...hat.com>
CC: <linux-kernel@...r.kernel.org>, <jpoimboe@...hat.com>,
<peterz@...radead.org>, <mbenes@...e.cz>
Subject: Re: [PATCH v2 1/4] objtool: Move object file loading out of check
On Mon, Jun 08, 2020 at 08:12:00AM +0100, Julien Thierry wrote:
> Structure objtool_file can be used by different subcommands. In fact
> it already is, by check and orc.
>
> Provide a function that allows to initialize objtool_file, that builtin
> can call, without relying on check to do the correct setup for them and
> explicitly hand the objtool_file to them.
>
> Signed-off-by: Julien Thierry <jthierry@...hat.com>
Reviewed-by: Matt Helsley <mhelsley@...are.com>
> ---
> tools/objtool/builtin-check.c | 7 ++++++-
> tools/objtool/builtin-orc.c | 8 +++++++-
> tools/objtool/check.c | 37 +++++++++++------------------------
> tools/objtool/objtool.c | 29 +++++++++++++++++++++++++++
> tools/objtool/objtool.h | 4 +++-
> tools/objtool/weak.c | 4 +---
> 6 files changed, 57 insertions(+), 32 deletions(-)
Powered by blists - more mailing lists