]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool: Warn when disabling unreachable warnings
authorJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 24 Mar 2025 21:55:52 +0000 (14:55 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Mar 2025 08:20:25 +0000 (09:20 +0100)
commiteeff7ac61526a4a9c3916cf46885622078ad886b
treeb2a6ab8eac2469ea26f099467cd706e1ad37c438
parentef753d66051ca03bee1982ce047f9eaf90f81ab4
objtool: Warn when disabling unreachable warnings

Print a warning when disabling the unreachable warnings (due to a GCC
bug).  This will help determine if recent GCCs still have the issue and
alert us if any other issues might be silently lurking behind the
unreachable disablement.

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/df243063787596e6031367e6659e7e43409d6c6d.1742852846.git.jpoimboe@kernel.org
tools/objtool/arch/x86/special.c