]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
ArmPkg: Remove Deprecated Stack Check Lib
authorOliver Smith-Denny <osde@linux.microsoft.com>
Tue, 23 Jul 2024 22:18:41 +0000 (15:18 -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>
ArmPkg/ArmPkg.dsc
ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.dsc

index 657e2bc5d5c0049f37b2c13b032c31ec09dfe22b..041751e368300c1243d4c2bb4bb8e4b26a6bc4ec 100644 (file)
 \r
   OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf\r
 \r
+[LibraryClasses.common.SEC]\r
+  # ARM platforms have SEC modules with standard entry points, so we can generically link StackCheckLib\r
+  NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf\r
+\r
 [LibraryClasses.common.PEIM]\r
   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
 \r
-[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
-  # Add support for GCC stack protector\r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [Components.common]\r
   ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
   ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
index 4ab7737c83ebf8be1730df2be72691bc1270ce0d..28ebe68b417e41a9beb34f4a9c762ae4fb5d5b6e 100644 (file)
@@ -43,7 +43,5 @@
   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
 \r
-  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
-\r
 [Components.common]\r
   ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf\r