mirror of https://github.com/acidanthera/audk.git
EmulatorPkg: 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
e7c0ad3661
commit
ae5953dea0
|
@ -151,6 +151,8 @@
|
|||
PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf
|
||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||
TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.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.USER_DEFINED, LibraryClasses.common.BASE]
|
||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||
|
@ -319,13 +321,25 @@
|
|||
# Emulator, OS WIN application
|
||||
# CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag
|
||||
# to build WinHost application.
|
||||
#
|
||||
# USER_DEFINED components skip normal NULL lib linking, so we have to link this
|
||||
# specially here for the libs that have stack guard enabled
|
||||
##
|
||||
EmulatorPkg/Win/Host/WinHost.inf
|
||||
EmulatorPkg/Win/Host/WinHost.inf {
|
||||
<LibraryClasses>
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
!else
|
||||
##
|
||||
# Emulator, OS POSIX application
|
||||
#
|
||||
# USER_DEFINED components skip normal NULL lib linking, so we have to link this
|
||||
# specially here for the libs that have stack guard enabled
|
||||
##
|
||||
EmulatorPkg/Unix/Host/Host.inf
|
||||
EmulatorPkg/Unix/Host/Host.inf {
|
||||
<LibraryClasses>
|
||||
NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
}
|
||||
!endif
|
||||
!endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue