From patchwork Mon Aug 27 03:39:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10576367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C8E1920 for ; Mon, 27 Aug 2018 03:41:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25BCE296D8 for ; Mon, 27 Aug 2018 03:41:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16B05296DF; Mon, 27 Aug 2018 03:41:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F587296D8 for ; Mon, 27 Aug 2018 03:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726731AbeH0H0G (ORCPT ); Mon, 27 Aug 2018 03:26:06 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:21268 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbeH0H0G (ORCPT ); Mon, 27 Aug 2018 03:26:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id w7R3dqBW000620; Mon, 27 Aug 2018 12:39:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w7R3dqBW000620 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1535341193; bh=Vgyw17x1dF7D+kIxyRMyUdC5TrpszQQHtPWiOKqXq6I=; h=From:To:Cc:Subject:Date:From; b=WW4J4aMS+Y32QS3azBnt70bdY7uQTCFkZiXEisYm/mdWudSiv8U/HiHQH9pwiNOLv 4r1uiS5DaOfcrilQwwlCpy2zknozqogyMb4gpckQa6kREsso/PpsHc6r/n/hjwHK3r r1CC8yEtfFwCIs+LGnDCijQ1MMextowUYzTdxZWUOw19AfifQVdfw1lSmtYFuWJKyk XJQLdEJUGeJcZm2UrgU5IkjHcrUYaOXnSMt+YIZcVpovoDft2Olgew8tIsESVE58Tk mWUH6GdLhZqkoyyay1lJg8l8+7mnmm8G/5ItysHISOivHuZbLpPTAuAo5X7ko5ZqcQ fJBz+kubXD4+A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Josh Poimboeuf Cc: Thomas Gleixner , Peter Zijlstra , x86@kernel.org, Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH] objtool: remove workaround for unreachable warnings from old GCC Date: Mon, 27 Aug 2018 12:39:43 +0900 Message-Id: <1535341183-19994-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Josh Poimboeuf --- scripts/Makefile.build | 2 -- 1 file changed, 2 deletions(-) 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),)