From: Masahiro Yamada Date: Mon, 27 Aug 2018 03:39:43 +0000 (+0900) Subject: objtool: Remove workaround for unreachable warnings from old GCC X-Git-Tag: v5.15~8068^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=113fc08357ad4e8b84caa75402430875d9ac4c1a;p=platform%2Fkernel%2Flinux-starfive.git objtool: Remove workaround for unreachable warnings from old GCC Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. This effectively reverts commit da541b20021c ("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 Signed-off-by: Thomas Gleixner Acked-by: Josh Poimboeuf Cc: Peter Zijlstra Cc: Michal Marek Cc: linux-kbuild@vger.kernel.org Link: https://lkml.kernel.org/r/1535341183-19994-1-git-send-email-yamada.masahiro@socionext.com --- diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 1c48572..5a2d1c9 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -246,8 +246,6 @@ objtool_args += --no-fp endif ifdef CONFIG_GCOV_KERNEL objtool_args += --no-unreachable -else -objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable) endif ifdef CONFIG_RETPOLINE ifneq ($(RETPOLINE_CFLAGS),)