1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2020 Matt Helsley <mhelsley@vmware.com>
4 * Weak definitions necessary to compile objtool without
5 * some subcommands (e.g. check, orc).
12 #define UNSUPPORTED(name) \
14 fprintf(stderr, "error: objtool: " name " not implemented\n"); \
18 int __weak
check(struct objtool_file
*file
)
20 UNSUPPORTED("check subcommand");
23 int __weak
orc_dump(const char *_objname
)
28 int __weak
create_orc(struct objtool_file
*file
)
33 int __weak
create_orc_sections(struct objtool_file
*file
)