Josh Poimboeuf 876a4bce38 objtool: Remove --no-unreachable for noinstr-only vmlinux.o runs
For (!X86_KERNEL_IBT && !LTO_CLANG && NOINSTR_VALIDATION), objtool runs
on both translation units and vmlinux.o.  The vmlinux.o run only does
noinstr/noret validation.  In that case --no-unreachable has no effect.
Remove it.

Note that for ((X86_KERNEL_IBT || LTO_CLANG) && KCOV), --no-unreachable
still gets set in objtool-args-y by scripts/Makefile.lib.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/05414246a0124db2f21b0d071b652aa9043d039d.1742852847.git.jpoimboe@kernel.org
2025-03-25 09:20:27 +01:00
..
2024-09-01 20:34:49 +09:00
2024-10-07 02:12:27 +09:00
2025-02-16 03:10:58 +09:00
2025-01-31 12:07:07 -08:00
2025-02-09 10:05:32 -08:00
2022-10-03 14:03:19 -07:00
2024-11-30 13:41:50 -08:00
2023-12-03 18:51:48 +09:00
2024-11-28 08:11:56 +09:00
2025-02-12 12:12:28 +01:00