objtool: Ditch subcommands
Objtool has a fairly singular focus. It runs on object files and does validations and transformations which can be combined in various ways. The subcommand model has never been a good fit, making it awkward to combine and remove options. Remove the "check" and "orc" subcommands in favor of a more traditional cmdline option model. This makes it much more flexible to use, and easier to port individual features to other arches. Signed-off-by:Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by:
Miroslav Benes <mbenes@suse.cz> Link: https://lkml.kernel.org/r/5c61ebf805e90aefc5fa62bc63468ffae53b9df6.1650300597.git.jpoimboe@redhat.com
Showing
- scripts/Makefile.build 1 addition, 1 deletionscripts/Makefile.build
- scripts/link-vmlinux.sh 5 additions, 8 deletionsscripts/link-vmlinux.sh
- tools/objtool/Build 5 additions, 7 deletionstools/objtool/Build
- tools/objtool/Makefile 3 additions, 5 deletionstools/objtool/Makefile
- tools/objtool/builtin-check.c 44 additions, 12 deletionstools/objtool/builtin-check.c
- tools/objtool/builtin-orc.c 0 additions, 73 deletionstools/objtool/builtin-orc.c
- tools/objtool/check.c 8 additions, 0 deletionstools/objtool/check.c
- tools/objtool/include/objtool/builtin.h 3 additions, 2 deletionstools/objtool/include/objtool/builtin.h
- tools/objtool/objtool.c 1 addition, 96 deletionstools/objtool/objtool.c
- tools/objtool/weak.c 2 additions, 7 deletionstools/objtool/weak.c
Loading
Please register or sign in to comment