diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-09 06:17:20 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-09 06:17:20 +0000 |
commit | 1cda74acbf8554882be74536c421fa860e337ed7 (patch) | |
tree | 509d39303c2efb3ed3048f792d611d52035fa4e1 /MdePkg | |
parent | bf0ce309d12976a2c36335118b183cc5d38bdc00 (diff) | |
download | edk2-platforms-1cda74acbf8554882be74536c421fa860e337ed7.tar.xz |
Added a "_" to ${ENTRYPOINT} for GCC "CC" command option;
Removed GCC tool chain options from MdePkg-All-Archs.fpd and EdkModulePkg-All-Archs.fpd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@843 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/MdePkg-All-Archs.fpd | 24 | ||||
-rw-r--r-- | MdePkg/MdePkg.fpd | 2 |
2 files changed, 1 insertions, 25 deletions
diff --git a/MdePkg/MdePkg-All-Archs.fpd b/MdePkg/MdePkg-All-Archs.fpd index bf2ddb09e6..0ff0002473 100644 --- a/MdePkg/MdePkg-All-Archs.fpd +++ b/MdePkg/MdePkg-All-Archs.fpd @@ -2605,30 +2605,6 @@ "/NOLOGO", "/MACHINE:EBC", "/SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER", "/OPT:REF", "/NODEFAULTLIB", "/ENTRY:${ENTRYPOINT}", "/SUBSYSTEM:${SUBSYSTEM}"
</Option>
<Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="PP"> "-nologo", "-P", "-TC" </Option>
-
- <!-- GCC tool chain options definition : IA32 -->
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="CC">
- "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c", "-include ${DEST_DIR_DEBUG}/AutoGen.h"
- </Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
- "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
- </Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-x assembler-with-cpp", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
-
- <!-- BOB tool chain options definition : IA32 -->
- <Option TagName="BOB" SupArchList="IA32" ToolCode="CC">
- "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c"
- </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="SLINK"> </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="DLINK">
- "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"
- </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="PP"> "-E" </Option>
</Options>
<Ffs FfsKey="APPLICATION">
diff --git a/MdePkg/MdePkg.fpd b/MdePkg/MdePkg.fpd index 5147b6cfaa..d03de71960 100644 --- a/MdePkg/MdePkg.fpd +++ b/MdePkg/MdePkg.fpd @@ -840,7 +840,7 @@ <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
- "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
+ "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry _${ENTRYPOINT}"
</Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-x assembler-with-cpp", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
|