Files
system76-edk2/ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
Ard Biesheuvel 01627dba09 ArmPkg/ArmSoftfloatLib: restrict -fno-tree-vrp option to GCC46 and GCC47
The -fno-tree-vrp option is not required for GCC 4.8 or later, and is not
supported by CLANG. So restrict its use to GCC 4.6 and 4.7, which are the
oldest versions we support for ARM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19283 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-15 15:02:16 +00:00

52 lines
1.5 KiB
INI

## @file
# ARM Software floating point Library.
#
# Copyright (c) 2014, ARM Ltd. All rights reserved.
# Copyright (c) 2015, Linaro Ltd. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = ArmSoftFloatLib
FILE_GUID = a485f921-749e-41a0-9f91-62f09a38721c
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = ArmSoftFloatLib
#
# VALID_ARCHITECTURES = ARM
#
[Sources]
bits32/softfloat.c
Arm/__aeabi_dcmpeq.c
Arm/__aeabi_fcmpeq.c
Arm/__aeabi_dcmpge.c
Arm/__aeabi_fcmpge.c
Arm/__aeabi_dcmpgt.c
Arm/__aeabi_fcmpgt.c
Arm/__aeabi_dcmple.c
Arm/__aeabi_fcmple.c
Arm/__aeabi_dcmplt.c
Arm/__aeabi_fcmplt.c
Arm/__aeabi_dcmpun.c
Arm/__aeabi_fcmpun.c
[Packages]
MdePkg/MdePkg.dec
[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare
*_GCC46_*_CC_FLAGS = -fno-tree-vrp
*_GCC47_*_CC_FLAGS = -fno-tree-vrp
RVCT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC