mirror of https://github.com/acidanthera/audk.git
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:
parent
78671f585c
commit
f2d16cde5a
|
@ -7539,7 +7539,7 @@
|
||||||
</DynamicPcdBuildDefinitions>
|
</DynamicPcdBuildDefinitions>
|
||||||
<BuildOptions>
|
<BuildOptions>
|
||||||
<Options>
|
<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>
|
<Option BuildTargets="RELEASE" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="DLINK">/ALIGN:4096</Option>
|
||||||
</Options>
|
</Options>
|
||||||
<Ffs FfsKey="APPLICATION">
|
<Ffs FfsKey="APPLICATION">
|
||||||
|
|
Loading…
Reference in New Issue