]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/tools_def.txt: Add -march=i586 for IA32 GCC targets
authorMichael Kinney <michael.d.kinney@intel.com>
Tue, 23 Feb 2016 00:46:06 +0000 (16:46 -0800)
committerMichael Kinney <michael.d.kinney@intel.com>
Thu, 25 Feb 2016 04:28:07 +0000 (20:28 -0800)
commitc261c27dcee4603b9628d68639e7dccc4253af7e
tree5d7a71c4c0dd7f7fb64235383e56e5fcc6083b7c
parent82f0f411c7912de105d1484fd294bde8aacb6c1e
BaseTools/tools_def.txt: Add -march=i586 for IA32 GCC targets

Newer GCC compilers use a default of march higher than i586
for -m32 (IA32 configuration) and this is causing generation of
instructions that are not compatible with all IA32 targets.
Specically Galileo platform support in the QuarkPlatformPkg does
not boot if GCC48 or higher is used.

This is similar to the following checkin that was done to address
this same issue for VS2012 and higher tool chains:

SHA-1: 71028ba2c4c398d70475504e671d048d9003d90f

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Leroy Leahy <leroy.p.leahy@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template