summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@linux.microsoft.com>2024-07-23 15:29:27 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-13 03:58:46 +0000
commitce347727a04bfa8db43fc809771f42fcb7f630dd (patch)
tree9c2fc348a990196e95b7cb2a2f8222e6917b55d0
parent7ca87dcc6a4611278af26200e555220ae67fd6c6 (diff)
downloadedk2-ce347727a04bfa8db43fc809771f42fcb7f630dd.tar.gz
edk2-ce347727a04bfa8db43fc809771f42fcb7f630dd.tar.bz2
edk2-ce347727a04bfa8db43fc809771f42fcb7f630dd.zip
SignedCapsulePkg: Add StackCheckLibNull
Remove the old stack check lib now that MdeLibs.inc includes the new one. Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
-rw-r--r--SignedCapsulePkg/SignedCapsulePkg.dsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/SignedCapsulePkg.dsc
index e3e62d03f6..1217d24b8a 100644
--- a/SignedCapsulePkg/SignedCapsulePkg.dsc
+++ b/SignedCapsulePkg/SignedCapsulePkg.dsc
@@ -95,13 +95,13 @@
PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
+# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
+[LibraryClasses.common.SEC]
+ NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
+
[LibraryClasses.ARM]
ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
-[LibraryClasses.AARCH64, LibraryClasses.ARM]
- # Add support for GCC stack protector
- NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
-
[LibraryClasses.ARM]
RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf