diff options
author | Oliver Smith-Denny <osde@microsoft.com> | 2024-06-14 14:03:11 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-13 03:58:46 +0000 |
commit | 2e8fb6b406b962fdc0d0920f28c4fa1389696579 (patch) | |
tree | c235fe75f39f02b32d298557fa580add9f973709 /ShellPkg | |
parent | ce347727a04bfa8db43fc809771f42fcb7f630dd (diff) | |
download | edk2-2e8fb6b406b962fdc0d0920f28c4fa1389696579.tar.gz edk2-2e8fb6b406b962fdc0d0920f28c4fa1389696579.tar.bz2 edk2-2e8fb6b406b962fdc0d0920f28c4fa1389696579.zip |
ShellPkg: Add StackCheckLib
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 'ShellPkg')
-rw-r--r-- | ShellPkg/ShellPkg.dsc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index a8ae1deaae..029a22fc79 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -65,9 +65,9 @@ DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
-[LibraryClasses.ARM,LibraryClasses.AARCH64]
- # Add support for GCC stack protector
- NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.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
[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|