Stack protection support is required when building with ARM/AArch64 GCC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.mar...@arm.com> --- StdLib/StdLib.inc | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/StdLib/StdLib.inc b/StdLib/StdLib.inc index 51aeefa..7ee2e0a 100644 --- a/StdLib/StdLib.inc +++ b/StdLib/StdLib.inc @@ -74,10 +74,16 @@ NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf NULL|StdLib/LibC/Softfloat/Softfloat.inf + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.AARCH64] # Use the softfloat library to cover missing hardfloat operations. NULL|StdLib/LibC/Softfloat/Softfloat.inf + # Add support for GCC stack protector + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [Components] # BaseLib and BaseMemoryLib need to be built with the /GL- switch when using the Microsoft # tool chain. This is required so that the library functions can be resolved during -- 2.1.1 ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel