lkml.org 
[lkml]   [2020]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@redhat.com>

Reviewed-by: Matt Helsley <mhelsley@vmware.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(-)

\
 
 \ /
  Last update: 2020-06-08 20:50    [W:0.356 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site