Skip to content

Commit 113fc08

Browse files
masahir0yKAGA-KOKO
authored andcommitted
objtool: Remove workaround for unreachable warnings from old GCC
Commit cafa001 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. This effectively reverts commit da541b2 ("objtool: Skip unreachable warnings for GCC 4.4 and older"), which was a workaround for GCC 4.4 or older. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Michal Marek <michal.lkml@markovi.net> Cc: linux-kbuild@vger.kernel.org Link: https://lkml.kernel.org/r/1535341183-19994-1-git-send-email-yamada.masahiro@socionext.com
1 parent 13ba17b commit 113fc08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/Makefile.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ objtool_args += --no-fp
246246
endif
247247
ifdef CONFIG_GCOV_KERNEL
248248
objtool_args += --no-unreachable
249-
else
250-
objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable)
251249
endif
252250
ifdef CONFIG_RETPOLINE
253251
ifneq ($(RETPOLINE_CFLAGS),)

0 commit comments

Comments
 (0)