objtool: Move checking code to check.c
authorJosh Poimboeuf <[email protected]>
Wed, 28 Jun 2017 15:11:05 +0000 (10:11 -0500)
committerIngo Molnar <[email protected]>
Fri, 30 Jun 2017 08:19:19 +0000 (10:19 +0200)
commitdcc914f44f065ef73685b37e59877a5bb3cb7358
tree38ec8f7dee26ae770a14dcb7cb8563cd49b81074
parent4d8a991d460d4fa4829beaffdcba45a217ca0fa7
objtool: Move checking code to check.c

In preparation for the new 'objtool undwarf generate' command, which
will rely on 'objtool check', move the checking code from
builtin-check.c to check.c where it can be used by other commands.

Signed-off-by: Josh Poimboeuf <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/294c5c695fd73c1a5000bbe5960a7c9bec4ee6b4.1498659915.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
tools/objtool/Build
tools/objtool/builtin-check.c
tools/objtool/check.c [new file with mode: 0644]
tools/objtool/check.h [new file with mode: 0644]