]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
CryptoPkg: Add StackCheckLib
authorOliver Smith-Denny <osde@microsoft.com>
Fri, 14 Jun 2024 20:59:37 +0000 (13:59 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 03:58:46 +0000 (03:58 +0000)
Remove the old stack check lib now that MdeLibs.inc includes
the new one.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
CryptoPkg/CryptoPkg.dsc
CryptoPkg/CryptoPkgMbedTls.dsc

index 344f158a768eaefd84ed634538c37a9a62497e85..f23fb6f945e1dafa4d03ebd9b2b6b13829e1aec0 100644 (file)
 [LibraryClasses.ARM, LibraryClasses.AARCH64]\r
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
 \r
-  # Add support for stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [LibraryClasses.ARM]\r
   ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
 \r
 [LibraryClasses.common.SEC]\r
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf\r
   TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf\r
+  # StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
 \r
 [LibraryClasses.common.PEIM]\r
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
index a429606efe359296fb47fa46a9c447478375808b..17f41c4f36124c7d1d57fa59452ac4f20552431b 100644 (file)
   RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
 \r
-[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
-  # Add support for stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [LibraryClasses.common.PEIM]\r
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r