From nobody Thu May 15 13:07:29 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1508980816517199.16673551240626; Wed, 25 Oct 2017 18:20:16 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8E361203525E9; Wed, 25 Oct 2017 18:16:21 -0700 (PDT) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9FD3A2034A7B8 for ; Wed, 25 Oct 2017 18:16:19 -0700 (PDT) Received: by mail-lf0-x242.google.com with SMTP id l23so1914951lfk.10 for ; Wed, 25 Oct 2017 18:20:05 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h26sm1053428lja.69.2017.10.25.18.20.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Oct 2017 18:20:02 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::242; helo=mail-lf0-x242.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PGSMb6osvv878jP+7KCx5d73pHqnezDsF/JTd4nmtJQ=; b=dLsGOSd7C5MzbYsBacIUhcE+a+nJcG/OUZYvVAkkS0LG0xy2s+4nZuHBbO9y6dm1ds oU4p/gtH4IFsef9pIGg4ORS0MbRAPAkNMvLR1Msd3ur8c5aCpgj3FGBlCvLrc4hbWxlH yAh8A4L4xLbOXcfz4lKVOkttuTl1ZMrsFw4IUlRn8r7vB0mMkfae8Vm1VpQtfyZiL6LY ngH0nAihvFKoWo/b3YnYPQCU1oKnlFuqytcDSmca/D3doG4HZ3Y5Y/gWG6k9GRSP3qBV PtyU90anWBNMK+o4UfBMvbTJLMpT/R5dXdRCYOHwuDzUNQvKC7AI7ucnUH5Z/wxzSZhT kK3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PGSMb6osvv878jP+7KCx5d73pHqnezDsF/JTd4nmtJQ=; b=HEUzCUGN22iK5Ugxw2TtXCrS3MJkKieFmSv/mBekbJ45mwbEeAiIjNEOGS2Wk5UDCE 4bb4lR5nrF3T7RThJv/7eWhdNs3ebe9bLzNlLqVo9xb8n5H+IG6JuQfkh0MBolKAtScG sl2Lop85vHDyZbgGYlQ069OGBu77N8pD91wZiKcA+K3gZiLDD94iw2E/R/JQHMWuEylY zxodk+N+M/P1EuTWv6Ma2SdZoKDzfBn3YvCeS0obhJIas10Ng+4EXDbjUr2lvZIK6+zs xC5VhMPMeV6OQ8f3Lvvpisd8tz5L+VUYp2MEve/5Ty7TbsqccUCCTswJmvA1eF1fAy5V 2BGg== X-Gm-Message-State: AMCzsaU89r8FgVI1Ms/wONUraiI1jVOrKDTbA2mRS8td7YlhZ5WA88rc uS4WMRFv4QeCS6bjsFvBBRS0dGfRXw4= X-Google-Smtp-Source: ABhQp+RskT/FlorSeHcE1aZ3vCpycvj5M0LDRCfjJhvMbaGo7vy1uWsiiqYeVJZ/udM0i5jfFSvKxw== X-Received: by 10.25.89.206 with SMTP id n197mr7104024lfb.96.1508980803475; Wed, 25 Oct 2017 18:20:03 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Thu, 26 Oct 2017 03:19:32 +0200 Message-Id: <1508980777-29006-6-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508980777-29006-1-git-send-email-mw@semihalf.com> References: <1508980777-29006-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 05/10] Marvell/Library: MppLib: Disable the stack protector X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ard Biesheuvel MppLib may be used very early (in SEC), at which point stack protection measures are more likely to cause harm than help, given that not even the UART has been configured to the point where we can complain usefully. So just disable it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Library/MppLib/MppLib.inf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Platform/Marvell/Library/MppLib/MppLib.inf b/Platform/Marvell/= Library/MppLib/MppLib.inf index 2de9cd0..1268542 100644 --- a/Platform/Marvell/Library/MppLib/MppLib.inf +++ b/Platform/Marvell/Library/MppLib/MppLib.inf @@ -106,3 +106,6 @@ gMarvellTokenSpaceGuid.PcdChip3MppSel7 =20 gMarvellTokenSpaceGuid.PcdPciESdhci + +[BuildOptions] + *_*_*_CC_FLAGS =3D -fno-stack-protector --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel