diff mbox

[edk2] ShellPkg: Add support for GCC stack protector to ARM

Message ID 0877601216922E4B83A7129715B5DA2BAC6EE226C6@GEORGE.Emea.Arm.com
State New
Headers show

Commit Message

Olivier Martin Sept. 16, 2014, 5:47 p.m. UTC
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 <Ronald.Cron@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>

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

Comments

Carsey, Jaben Sept. 16, 2014, 5:50 p.m. UTC | #1
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>

> -----Original Message-----
> From: Olivier Martin [mailto:Olivier.Martin@arm.com]
> Sent: Tuesday, September 16, 2014 10:48 AM
> To: Carsey, Jaben
> Cc: edk2-devel@lists.sourceforge.net; Ronald Cron
> Subject: [PATCH] ShellPkg: Add support for GCC stack protector to ARM
> Importance: High
> 
> 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 <Ronald.Cron@arm.com>
> Reviewed-By: Olivier Martin <olivier.martin@arm.com>
> 
> 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
diff mbox

Patch

From 8db8c262a8f35dc50523e3628952f0a671c034be Mon Sep 17 00:00:00 2001
From: Ronald Cron <ronald.cron@arm.com>
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 <Ronald.Cron@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
---
 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