Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp486852pxu; Thu, 3 Dec 2020 05:33:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEph2ycmqVSH1zIy+J2vIG/6BjxR/xrABAYaLvopv7HzDW14gXaErXLQpAVwVh0fxuzNON X-Received: by 2002:aa7:cc19:: with SMTP id q25mr2812416edt.290.1607002410760; Thu, 03 Dec 2020 05:33:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607002410; cv=none; d=google.com; s=arc-20160816; b=sFYfrUy1o7aSBGfVR8dijdm+MHcIdhBd8HXsOHu539uJPsHvmoTGYaUwkNOA6JO/FC 2qaSzqtrdv7jCz5mHpmwIFNTEEzsnMfrnXgW7k5FqjaK8djculsl94wUUiCgGE58cYTr jfTZ5C0ixKi/aQKuHVyrgnjmELahCp2jDyws+tCehJ2hOKWWxseah4XSMQWmC6P507uB +vbJf66xUT8cW+C/T4bdOBRulwR98RIRU1FreBUkkbPW9YZGn/wVj2gtu+zDJBa4WgEK KKu5eJdlBZqx5S3EygsKubDu+8H58vGnWMV0i5JHSQzOUqVPVUef1Rcy6GfgH11yQULn 4dGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7QM65dFOCWGm7Kd1ad9x5TvSTu5RnGZIG2l/2edIios=; b=I7p1nub/zvA7gvsBdiIXO70dNde055pKipaMFZ7FMRYkHSmXKVEktrPuCgCy4sQkH+ zuZuw1PEti8nixXfEqoqxO+lZjCExL6iOaI9DUac0D4Cwy3+b4Kzi2LW3I3wpgWVQ5Bw mdr6O1Mfl9ru7JTee5I0D2UWZpRlS8gFcZs0A/KFIKEnFDYBgvlVh64KrFMG+QX3X8zB FuclPcRlEAqJ3Eh2QhCIFPuCBoPncjCvYfBCwhAACNoU13WpBBMEI5PyjThSDXWvXntU 683o+7ujAFwT4JdKl2HP/NDv9g08Uvi4OFcnbSHIAAO478XU/Do/wbk3fbISaKvTcPHD CB7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si923565edy.403.2020.12.03.05.33.00; Thu, 03 Dec 2020 05:33:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436471AbgLCNaG (ORCPT + 99 others); Thu, 3 Dec 2020 08:30:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:47842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436450AbgLCN37 (ORCPT ); Thu, 3 Dec 2020 08:29:59 -0500 From: Sasha Levin Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Ellerman , =?UTF-8?q?N=C3=A9meth=20M=C3=A1rton?= , kernel test robot , Nick Desaulniers , Scott Wood , Sasha Levin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH AUTOSEL 5.9 09/39] powerpc: Drop -me200 addition to build flags Date: Thu, 3 Dec 2020 08:28:03 -0500 Message-Id: <20201203132834.930999-9-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201203132834.930999-1-sashal@kernel.org> References: <20201203132834.930999-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman [ Upstream commit e02152ba2810f7c88cb54e71cda096268dfa9241 ] Currently a build with CONFIG_E200=y will fail with: Error: invalid switch -me200 Error: unrecognized option -me200 Upstream binutils has never supported an -me200 option. Presumably it was supported at some point by either a fork or Freescale internal binutils. We can't support code that we can't even build test, so drop the addition of -me200 to the build flags, so we can at least build with CONFIG_E200=y. Reported-by: Németh Márton Reported-by: kernel test robot Signed-off-by: Michael Ellerman Reviewed-by: Nick Desaulniers Acked-by: Scott Wood Link: https://lore.kernel.org/r/20201116120913.165317-1-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 3e8da9cf2eb9d..e6643d5699fef 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -249,7 +249,6 @@ KBUILD_CFLAGS += $(call cc-option,-mno-string) cpu-as-$(CONFIG_40x) += -Wa,-m405 cpu-as-$(CONFIG_44x) += -Wa,-m440 cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec) -cpu-as-$(CONFIG_E200) += -Wa,-me200 cpu-as-$(CONFIG_E500) += -Wa,-me500 # When using '-many -mpower4' gas will first try and find a matching power4 -- 2.27.0