Re: [PATCH v2 00/25] objtool: Interface overhaul
From: Miroslav Benes
Date: Wed Apr 20 2022 - 13:27:13 EST
> $ tools/objtool/objtool --help
>
> Usage: objtool <actions> [<options>] file.o
>
> Actions:
> -h, --hacks[=<jump_label,noinstr>]
> patch toolchain bugs/limitations
> -i, --ibt validate and annotate IBT
> -l, --sls validate straight-line-speculation mitigations
> -m, --mcount annotate mcount/fentry calls for ftrace
> -n, --noinstr validate noinstr rules
> -o, --orc generate ORC metadata
> -r, --retpoline validate and annotate retpoline usage
> -s, --stackval validate frame pointer rules
> -t, --static-call annotate static calls
> -u, --uaccess validate uaccess rules for SMAP
> --dump[=<orc>] dump metadata
>
> Options:
> --backtrace unwind on error
> --backup create .orig files before modification
> --dry-run don't write modifications
> --link object is a linked object
> --module object is part of a kernel module
> --no-unreachable skip 'unreachable instruction' warnings
> --sec-address print section addresses in warnings
> --stats print statistics
Nice job! The outcome is much clearer now.
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
M