From patchwork Tue Sep 16 17:47:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Martin X-Patchwork-Id: 37463 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0B68D2057E for ; Tue, 16 Sep 2014 17:49:53 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id mc6sf119701lab.6 for ; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:thread-topic :thread-index:message-id:accept-language:acceptlanguage:mime-version :cc:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-language:content-type; bh=29rtq1pxmZZG15Tok0BAlRK7Yn68/pV3EBMtDcTqZ/k=; b=FCyxFw+/j2DPxOS4DNWY3J9jB/s+4khhNvWdhgevc7WUm2Y7qdULIHRzL6gcuOy3cb KLUmowRVFgEDYWEn77MK000611yVCBytp092UPL1DPaReCsCpgjSUwdDdfhm1iibN6W9 ZhQfX/WHmhjhK+0D1hNKYTR8F7HhkIe3McE5gRmHky2AceESxpYXiyOk8isqIoNolvU7 0Iq0EC9ZFPpQGXGaboX/TlDUIm7BhIQFdqrb6Fvc0/QAtCwGGiTWdSonDJMHKIGcB8eZ aZ9W1Pz6OFKtwjtz9PWpoXVtytXW/5Soqq9D2WOS3cc7a7PWbwm5zQmMAdFomOPW2Hf4 wvsQ== X-Gm-Message-State: ALoCoQlRGTggKJCBotuYYGj+HXi22oWB/AxwGbcUtnXfK7Vl2q1TcXXk8G8Yrbtlnkj6Bs8oa7or X-Received: by 10.112.170.166 with SMTP id an6mr658676lbc.17.1410889792795; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.3 with SMTP id o3ls32020lah.14.gmail; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) X-Received: by 10.112.135.199 with SMTP id pu7mr12290965lbb.99.1410889792655; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPS id ga2si25277123lbc.108.2014.09.16.10.49.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 10:49:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id z11so274332lbi.26 for ; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) X-Received: by 10.112.62.200 with SMTP id a8mr35928200lbs.34.1410889792256; Tue, 16 Sep 2014 10:49:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp443326lbb; Tue, 16 Sep 2014 10:49:50 -0700 (PDT) X-Received: by 10.50.153.83 with SMTP id ve19mr33154722igb.4.1410889790176; Tue, 16 Sep 2014 10:49:50 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id mu7si2398024icc.38.2014.09.16.10.49.49 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 16 Sep 2014 10:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XTwsf-0002Pc-BI; Tue, 16 Sep 2014 17:49:33 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XTwsc-0002PK-Uc for edk2-devel@lists.sourceforge.net; Tue, 16 Sep 2014 17:49:30 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of arm.com designates 195.130.217.12 as permitted sender) client-ip=195.130.217.12; envelope-from=olivier.martin@arm.com; helo=service88.mimecast.com; Received: from service88.mimecast.com ([195.130.217.12]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1XTwsb-00070g-NT for edk2-devel@lists.sourceforge.net; Tue, 16 Sep 2014 17:49:30 +0000 Received: from EMEA-CAM-GW3.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) (Using TLS) by service88.mimecast.com; Tue, 16 Sep 2014 18:49:23 +0100 Received: from george.Emea.Arm.com ([fe80::4c19:a8f:5c9a:76df]) by EMEA-CAM-GW3.Emea.Arm.com ([::1]) with mapi; Tue, 16 Sep 2014 18:49:23 +0100 From: Olivier Martin To: "jaben.carsey@intel.com" Date: Tue, 16 Sep 2014 18:47:56 +0100 Thread-Topic: [PATCH] ShellPkg: Add support for GCC stack protector to ARM Thread-Index: AQHP0daM/We0Jdqg40iGIC4zqDg7Yw== Message-ID: <0877601216922E4B83A7129715B5DA2BAC6EE226C6@GEORGE.Emea.Arm.com> Accept-Language: en-US, en-GB X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB MIME-Version: 1.0 X-MC-Unique: 114091618492300202 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XTwsb-00070g-NT Cc: Ronald Cron , "edk2-devel@lists.sourceforge.net" Subject: [edk2] [PATCH] ShellPkg: Add support for GCC stack protector to ARM X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: olivier.martin@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Language: en-GB Dear ShellPkg maintainer, please find the attached patch that adds stack protector support to ARM architecture. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin Best Regards, Olivier -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk Reviewed-by: Jaben Carsey >From 8db8c262a8f35dc50523e3628952f0a671c034be Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Wed, 10 Sep 2014 11:24:37 +0100 Subject: ShellPkg: Add support for GCC stack protector Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin --- ShellPkg/ShellPkg.dsc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 20eb034..54cb7c2 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -59,6 +59,9 @@ # NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.AARCH64] NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf -- 1.7.5.4