]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
SignedCapsulePkg: Add StackCheckLibNull
authorOliver Smith-Denny <osde@linux.microsoft.com>
Tue, 23 Jul 2024 22:29:27 +0000 (15:29 -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>
SignedCapsulePkg/SignedCapsulePkg.dsc

index e3e62d03f6a4ebad57484fb42a13b89d65415bf3..1217d24b8adc418990a4dbea627e7160599d435c 100644 (file)
   PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
   RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
 \r
+# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules\r
+[LibraryClasses.common.SEC]\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
+\r
 [LibraryClasses.ARM]\r
   ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
 \r
-[LibraryClasses.AARCH64, LibraryClasses.ARM]\r
-  # Add support for GCC stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [LibraryClasses.ARM]\r
   RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
 \r