Fix bug to support Nt32Pkg source level debug.

MS-LINK would not generate .edata section with /SUBSYSTEM:Extensible Firmware Interface option, so NtPeCoffLoader can not retrieve driver entry by GetProcAddress().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2020 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1 2006-11-27 10:55:23 +00:00
parent 78671f585c
commit f2d16cde5a
1 changed files with 1 additions and 1 deletions

View File

@ -7539,7 +7539,7 @@
</DynamicPcdBuildDefinitions>
<BuildOptions>
<Options>
<Option BuildTargets="DEBUG" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="DLINK">/EXPORT:InitializeDriver=_ModuleEntryPoint /ALIGN:4096</Option>
<Option BuildTargets="DEBUG" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="DLINK">/EXPORT:InitializeDriver=_ModuleEntryPoint /ALIGN:4096 /SUBSYSTEM:CONSOLE</Option>
<Option BuildTargets="RELEASE" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="DLINK">/ALIGN:4096</Option>
</Options>
<Ffs FfsKey="APPLICATION">