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: 145153 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3724216ljw; Sun, 26 Aug 2018 20:41:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaVLbWTqKxhWrrUu9H60cGHUIqpxZ/brPJz37g7iWBT2u/koKmES+Ih0sWpr+hvdP2d5YVR X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr11172348pli.219.1535341285453; Sun, 26 Aug 2018 20:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535341285; cv=none; d=google.com; s=arc-20160816; b=AZ6pu+M1o4q5Kc2DXuiLJyb8UhtmVoQczWXQi6tXPMzTzNXAN3vZlL2EzcSG+Zqui8 nJd5t0OG7X2tYTcBy503vPN0wlYSycR4V1ss31kLkCcx1nj9DT2msC3lskaQhzV8TGWD +/XfoPOgVrgUoTkJBxEwos77QlZmehpGgC30FyDcVicnYqUPH3jOK6E+/EpEJmk6UcKp ByvAzwOYP1ErpDQgLsPhWl/nNgIGizueCDamdCJnNHCAhsAwKkeH5b8NbZYvQYplueuw OkSqySmIA6GAHkc4UOnvTeP622B4VlygkfXI60i3RBFj8ypwCKWbVN+XM3kZm29vhNBg uETA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=Vgyw17x1dF7D+kIxyRMyUdC5TrpszQQHtPWiOKqXq6I=; b=tcuxHvmeJ3P5OC38KCZIz/tmeFp82MvlDM48Czweze3vppMW5Dqem+sO0vGHJFb1V3 hJpDESHh1aUM8z6Lvl2AkKOArnIAKu/OURVCGgMY035IrXWUyYFgMho+LOcOdrj8bqOK Dq96d52PjDFgiJrZ5f4BH5e79KEu1nW/E48qtG0olGHkM7srkAZEYmr7CrXCFMCO7wrL zoN41zvVKfmMoeMurP0JAOOGdNMd8/UMFnvTwfP/hkogX5Mc8IaY1X8OwN8XnGIodV2Z PXq9vk/5rQb/opwYWII7YAzUBt2oA2qA95jfmoxbBo/XP1HA31HFj8qtwC0YHibBMxR5 afbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WW4J4aMS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1-v6si6330078plt.9.2018.08.26.20.41.25; Sun, 26 Aug 2018 20:41:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WW4J4aMS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbeH0H0G (ORCPT + 32 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- scripts/Makefile.build | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 Acked-by: Josh Poimboeuf 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),)