summaryrefslogtreecommitdiffstats
path: root/PrmPkg
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@linux.microsoft.com>2024-07-23 15:24:54 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-13 03:58:46 +0000
commite4c3c3eb65daa557dac40b4c68cc3589cd674986 (patch)
treebd31ed844d9128d7df81e29ee94bf7fa5712d670 /PrmPkg
parenta275f1018607e5571384b756f92dbdae3cf84c83 (diff)
downloadedk2-e4c3c3eb65daa557dac40b4c68cc3589cd674986.tar.gz
edk2-e4c3c3eb65daa557dac40b4c68cc3589cd674986.tar.bz2
edk2-e4c3c3eb65daa557dac40b4c68cc3589cd674986.zip
PrmPkg: 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>
Diffstat (limited to 'PrmPkg')
-rw-r--r--PrmPkg/PrmPkg.dsc11
1 files changed, 4 insertions, 7 deletions
diff --git a/PrmPkg/PrmPkg.dsc b/PrmPkg/PrmPkg.dsc
index 3e9126c321..8eeb393cd1 100644
--- a/PrmPkg/PrmPkg.dsc
+++ b/PrmPkg/PrmPkg.dsc
@@ -40,12 +40,13 @@
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.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.IA32, LibraryClasses.X64]
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
-[LibraryClasses.AARCH64]
- NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
-
[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
#
# EDK II Packages
@@ -149,10 +150,6 @@
#
$(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf
-[Components.AARCH64]
- # Add support for GCC stack protector
- MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
-
[BuildOptions]
# Force deprecated interfaces off
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES