]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
ShellPkg: Add StackCheckLib
authorOliver Smith-Denny <osde@microsoft.com>
Fri, 14 Jun 2024 21:03:11 +0000 (14:03 -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>
ShellPkg/ShellPkg.dsc

index a8ae1deaae147b11c94fa2d6db743772edfa85b2..029a22fc7997d2bf0a7588cead1301d055216a04 100644 (file)
@@ -65,9 +65,9 @@
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
 \r
-[LibraryClasses.ARM,LibraryClasses.AARCH64]\r
-  # Add support for GCC stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\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
 [PcdsFixedAtBuild]\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r