summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-27 10:55:23 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-27 10:55:23 +0000
commitf2d16cde5a70620ff149710dfeedab19846519ac (patch)
tree0be35977f38e435f2db6b7d1b3125a5627a21914
parent78671f585c689e4c19fe2df67bfe24a413212cb5 (diff)
downloadedk2-platforms-f2d16cde5a70620ff149710dfeedab19846519ac.tar.xz
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
-rw-r--r--EdkNt32Pkg/Nt32.fpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkNt32Pkg/Nt32.fpd b/EdkNt32Pkg/Nt32.fpd
index 8791ed4fd1..0669ea13fc 100644
--- a/EdkNt32Pkg/Nt32.fpd
+++ b/EdkNt32Pkg/Nt32.fpd
@@ -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">