Message ID | 20210409095305.483201173@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1425895jai; Fri, 9 Apr 2021 03:02:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsFKRqtm+aGLBTSibb0FmJqGmxXEcw87Tphf961dKq2PFz/RpWy8pel3n3M0J5jNBAHva8 X-Received: by 2002:a17:907:3a98:: with SMTP id fh24mr5485891ejc.371.1617962523421; Fri, 09 Apr 2021 03:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617962523; cv=none; d=google.com; s=arc-20160816; b=ixTP8wHNCgf98MAjIZ82dA9/s8/iqj83DmQ/DA82Q+68Rpiu47brmOlglf3aMQlZRL NYmk3YrN2LaIGR6lo+LQSZO8yoGgEYiWXkM4yoMxN9Pgl0A39KuxPpoDXVFcmSOnIqW9 c5fsWbx9CltS9coh3U0jZ3LcS+1qI2pp0Ly8waPwbN0e5u33ljatBv9y/3HPx2vE6ZAW JF06JP4WaPlXuUutM+I1KScTGX+LYoSfBJ1o2ZyKoZbBl08vVN2rcW4egfW8C4rEvIcZ hueySjmkJM6562fPiiFtc6ZnWZmd3BnlQOqjlj4/5HZoAiyvid4b20DSCgearbnPHcaU JF5A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GEuT82Ta+v/NFjHbFLKXucLEcIDK6I8CiNMbAmQa92c=; b=cE9H2m56D6y0ibt+DFOYkZTma/fELvAWgoV+v3DJcknTTcTGzacw1G8b/aIPa2nwhI L5JEzN25Xd8IGFC9TSbzjSMMB6ZBzjclHe7rtKTAem4Bi0OGbmE1LsH/jLBFMukmtp4h f0+J/+IVng0Th3KJTQS6/eqg5Bs+W4ciDOCgqLypYQ/cIXbhwbL3ywuBon31qZ3wbL9s 1EyOz+ygSnYc3xYG35SVQDVu5aRn/+LvVXu+vAnUADuP8Of83ELaTV1FDi5dOxsQT/sv fjrhxHcS+62AfZLfyl2cJ3HTU5cYZtIIV8hY3Wb0BMvYfgOEgrpoZgx0NU6NBfz5iDfh GsbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="q/00kr6R"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si2188899edk.222.2021.04.09.03.02.03; Fri, 09 Apr 2021 03:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="q/00kr6R"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233119AbhDIKCH (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Fri, 9 Apr 2021 06:02:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:44896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233970AbhDIJ7p (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 9 Apr 2021 05:59:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41DE561209; Fri, 9 Apr 2021 09:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617962339; bh=4MI8zIgKok7EGKTZprtv4rsef3hDXbu5DIe93BOpaZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q/00kr6RvBW5w8l0RABA2rhxPgkTTER+6fXhh9P7g1kzgMO7xyd/Ri1EH/jos0eMu +zoNQz8mvUs6zzfecRRLV5nY2pvDEOUBCk6ZZh9n6hx5eY+vCTfvn4pikwfsfRTr07 BKCOijVB/NkLCI56mE0hqsnoSIzRjOMg5M3JPDPw= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Ingo Molnar <mingo@kernel.org>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.10 20/41] x86/build: Turn off -fcf-protection for realmode targets Date: Fri, 9 Apr 2021 11:53:42 +0200 Message-Id: <20210409095305.483201173@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210409095304.818847860@linuxfoundation.org> References: <20210409095304.818847860@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 0a6d497221e4..9c86f2dc16b1 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -34,7 +34,7 @@ M16_CFLAGS := $(call cc-option, -m16, $(CODE16GCC_CFLAGS)) REALMODE_CFLAGS := $(M16_CFLAGS) -g -Os -DDISABLE_BRANCH_PROFILING \ -Wall -Wstrict-prototypes -march=i386 -mregparm=3 \ -fno-strict-aliasing -fomit-frame-pointer -fno-pic \ - -mno-mmx -mno-sse + -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none) REALMODE_CFLAGS += -ffreestanding REALMODE_CFLAGS += -fno-stack-protector