Skip to content

Commit

Permalink
objtool: Move checking code to check.c
Browse files Browse the repository at this point in the history
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 <jpoimboe@redhat.com>
Reviewed-by: Jiri Slaby <jslaby@suse.cz>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: live-patching@vger.kernel.org
Link: http://lkml.kernel.org/r/294c5c695fd73c1a5000bbe5960a7c9bec4ee6b4.1498659915.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Josh Poimboeuf authored and Ingo Molnar committed Jun 30, 2017
1 parent 4d8a991 commit dcc914f
Show file tree
Hide file tree
Showing 4 changed files with 1,328 additions and 1,268 deletions.
1 change: 1 addition & 0 deletions tools/objtool/Build
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
objtool-y += arch/$(SRCARCH)/
objtool-y += builtin-check.o
objtool-y += check.o
objtool-y += elf.o
objtool-y += special.o
objtool-y += objtool.o
Expand Down
Loading

0 comments on commit dcc914f

Please sign in to comment.