mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
OvmfPkg: 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>
This commit is contained in:
parent
fefd017851
commit
538b10f157
@ -232,6 +232,9 @@
|
||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.PEI_CORE]
|
||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||
|
@ -256,6 +256,9 @@
|
||||
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.PEI_CORE]
|
||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||
|
@ -269,6 +269,9 @@
|
||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.PEI_CORE]
|
||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||
|
@ -240,6 +240,9 @@
|
||||
PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
|
||||
CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.DXE_CORE]
|
||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
||||
|
@ -102,9 +102,6 @@
|
||||
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
||||
!endif
|
||||
|
||||
# For stack protector support
|
||||
NULL | MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||
|
||||
BaseLib | MdePkg/Library/BaseLib/BaseLib.inf
|
||||
SafeIntLib | MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||
TimeBaseLib | EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
|
||||
@ -197,6 +194,9 @@
|
||||
PlatformHookLib | OvmfPkg/LoongArchVirt/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortHookLib.inf
|
||||
CpuExceptionHandlerLib | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL | MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.PEI_CORE]
|
||||
PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||
HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||
|
@ -277,6 +277,9 @@
|
||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.PEI_CORE]
|
||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||
|
@ -686,6 +686,7 @@
|
||||
OvmfPkg/Sec/SecMain.inf {
|
||||
<LibraryClasses>
|
||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -699,6 +699,7 @@
|
||||
OvmfPkg/Sec/SecMain.inf {
|
||||
<LibraryClasses>
|
||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -720,6 +720,7 @@
|
||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||
NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -525,6 +525,7 @@
|
||||
OvmfPkg/Sec/SecMain.inf {
|
||||
<LibraryClasses>
|
||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -76,10 +76,6 @@
|
||||
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
||||
!endif
|
||||
|
||||
|
||||
# Add support for GCC stack protector
|
||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||||
|
||||
# RISC-V Architectural Libraries
|
||||
CpuExceptionHandlerLib|UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
|
||||
RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
|
||||
@ -156,6 +152,9 @@
|
||||
PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
||||
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
||||
|
||||
# StackCheckLib is not linked for SEC modules by default, this package can link it against its SEC modules
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.common.DXE_CORE]
|
||||
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||
|
Loading…
x
Reference in New Issue
Block a user