summaryrefslogtreecommitdiff
path: root/tools/objtool/weak.c
diff options
context:
space:
mode:
authorJulien Thierry <jthierry@redhat.com>2020-08-25 13:47:40 +0100
committerJosh Poimboeuf <jpoimboe@redhat.com>2020-09-01 17:19:11 -0500
commitd44becb9decf4438d1e555b1428634964d2e5764 (patch)
tree51216eb474b58554435a0790ac60305a3ce7d85a /tools/objtool/weak.c
parent6545eb030e6f14cef8793a86312483c788eaee46 (diff)
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>
Diffstat (limited to 'tools/objtool/weak.c')
-rw-r--r--tools/objtool/weak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/weak.c b/tools/objtool/weak.c
index 82698319f008..29180d599b08 100644
--- a/tools/objtool/weak.c
+++ b/tools/objtool/weak.c
@@ -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");
}