Josh Poimboeuf 22102f4559 objtool: Make noinstr hacks optional
Objtool has some hacks in place to workaround toolchain limitations
which otherwise would break no-instrumentation rules.  Make the hacks
explicit (and optional for other arches) by turning it into a cmdline
option and kernel config option.

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/b326eeb9c33231b9dfbb925f194ed7ee40edcd7c.1650300597.git.jpoimboe@redhat.com
2022-04-22 12:32:04 +02:00
..
2022-04-22 12:32:01 +02:00
2022-04-22 12:32:04 +02:00
2022-04-22 12:32:01 +02:00
2022-04-22 12:32:01 +02:00
2022-04-22 12:32:01 +02:00
2021-10-07 00:40:17 +02:00
2022-04-22 12:32:01 +02:00