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>
This commit is contained in:
Julien Thierry
2020-08-25 13:47:40 +01:00
committed by Josh Poimboeuf
parent 6545eb030e
commit d44becb9de
5 changed files with 32 additions and 21 deletions

View File

@@ -17,7 +17,7 @@
return ENOSYS; \
})
int __weak check(struct objtool_file *file, bool orc)
int __weak check(struct objtool_file *file)
{
UNSUPPORTED("check subcommand");
}