mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +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
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.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]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -256,6 +256,9 @@
|
|||||||
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.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]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -269,6 +269,9 @@
|
|||||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.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]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -240,6 +240,9 @@
|
|||||||
PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
|
PeilessStartupLib|OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
|
||||||
CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.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]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||||
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
||||||
|
@ -102,9 +102,6 @@
|
|||||||
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# For stack protector support
|
|
||||||
NULL | MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
|
||||||
|
|
||||||
BaseLib | MdePkg/Library/BaseLib/BaseLib.inf
|
BaseLib | MdePkg/Library/BaseLib/BaseLib.inf
|
||||||
SafeIntLib | MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
SafeIntLib | MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||||
TimeBaseLib | EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
|
TimeBaseLib | EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
|
||||||
@ -197,6 +194,9 @@
|
|||||||
PlatformHookLib | OvmfPkg/LoongArchVirt/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortHookLib.inf
|
PlatformHookLib | OvmfPkg/LoongArchVirt/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortHookLib.inf
|
||||||
CpuExceptionHandlerLib | UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.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]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||||
HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
|
@ -277,6 +277,9 @@
|
|||||||
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
||||||
MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.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]
|
[LibraryClasses.common.PEI_CORE]
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
||||||
|
@ -686,6 +686,7 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
|
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -699,6 +699,7 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
|
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -720,6 +720,7 @@
|
|||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
||||||
|
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -525,6 +525,7 @@
|
|||||||
OvmfPkg/Sec/SecMain.inf {
|
OvmfPkg/Sec/SecMain.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||||
|
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -76,10 +76,6 @@
|
|||||||
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
|
||||||
# Add support for GCC stack protector
|
|
||||||
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
|
||||||
|
|
||||||
# RISC-V Architectural Libraries
|
# RISC-V Architectural Libraries
|
||||||
CpuExceptionHandlerLib|UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
|
||||||
RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
|
RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
|
||||||
@ -156,6 +152,9 @@
|
|||||||
PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
PrePiHobListPointerLib|OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
||||||
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.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]
|
[LibraryClasses.common.DXE_CORE]
|
||||||
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
||||||
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user