]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools GCC: introduce GCC5 toolchain to support GCC v5.x in LTO mode
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 17 Jul 2016 21:20:10 +0000 (23:20 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Aug 2016 08:54:11 +0000 (10:54 +0200)
commit4a8466d4babab43ee6ee46e37c2abb8248661ad5
tree8eeda24126cc2b3e027a9cc595b062f09f92ca96
parent7fd5d619806df5e5b9bdbd0cfe14580040ea3615
BaseTools GCC: introduce GCC5 toolchain to support GCC v5.x in LTO mode

This adds support for GCC 5.x in LTO mode for IA32, X64, ARM and
AARCH64. Due to the fact that the GCC project switched to a new
numbering scheme where the first digit is now incremented for every
major release, the new toolchain is simply called 'GCC5', and is
intended to support all GCC v5.x releases.

Since IA32 and X64 enable compiler optimizations (-Os) for both DEBUG
and RELEASE builds, LTO support is equally enabled for both targets.
On ARM and AARCH64, DEBUG builds are not optimized, and so the LTO
optimizations are only enabled for RELEASE.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template
MdePkg/Include/X64/ProcessorBind.h