]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib/LibC: avoid LTO code for compiler intrinsics
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 8 Aug 2016 10:46:50 +0000 (12:46 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 9 Aug 2016 08:08:35 +0000 (10:08 +0200)
commit78d706e23512435c8166afe88600c4de493e0e68
treea915fc104b19ef6cf9b1c188dc53d6d6c9e2a4d4
parent0f73cca02b645267cb11ab8ddf1ba88af5ec3246
StdLib/LibC: avoid LTO code for compiler intrinsics

The softfloat routines and some other routines supplied by LibC
will satisfy references to compiler intrinsics that are emitted
by the compiler backend, which under LTO means that the link-time
code generation may emit references to symbols that have been
optimized away already.

Work around this by building the ARM and AARCH64 versions of LibC
and the softfloat library without LTO.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
StdLib/LibC/LibC.inf
StdLib/LibC/Softfloat/Softfloat.inf