objtool: Move ORC logic out of check()
authorJulien Thierry <jthierry@redhat.com>
Tue, 25 Aug 2020 12:47:40 +0000 (13:47 +0100)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 1 Sep 2020 22:19:11 +0000 (17:19 -0500)
commitd44becb9decf4438d1e555b1428634964d2e5764
tree51216eb474b58554435a0790ac60305a3ce7d85a
parent6545eb030e6f14cef8793a86312483c788eaee46
objtool: Move ORC logic out of check()

Now that the objtool_file can be obtained outside of the check function,
orc generation builtin no longer requires check to explicitly call its
orc related functions.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/builtin-check.c
tools/objtool/builtin-orc.c
tools/objtool/check.c
tools/objtool/objtool.h
tools/objtool/weak.c