]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
ArmPkg/ArmSoftfloatLib: restrict -fno-tree-vrp option to GCC46 and GCC47
[mirror_edk2.git] / ArmPkg / Library / ArmSoftFloatLib / ArmSoftFloatLib.inf
1 ## @file
2 # ARM Software floating point Library.
3 #
4 # Copyright (c) 2014, ARM Ltd. All rights reserved.
5 # Copyright (c) 2015, Linaro Ltd. All rights reserved.
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php.
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = ArmSoftFloatLib
20 FILE_GUID = a485f921-749e-41a0-9f91-62f09a38721c
21 MODULE_TYPE = BASE
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = ArmSoftFloatLib
24
25 #
26 # VALID_ARCHITECTURES = ARM
27 #
28
29 [Sources]
30 bits32/softfloat.c
31 Arm/__aeabi_dcmpeq.c
32 Arm/__aeabi_fcmpeq.c
33 Arm/__aeabi_dcmpge.c
34 Arm/__aeabi_fcmpge.c
35 Arm/__aeabi_dcmpgt.c
36 Arm/__aeabi_fcmpgt.c
37 Arm/__aeabi_dcmple.c
38 Arm/__aeabi_fcmple.c
39 Arm/__aeabi_dcmplt.c
40 Arm/__aeabi_fcmplt.c
41 Arm/__aeabi_dcmpun.c
42 Arm/__aeabi_fcmpun.c
43
44 [Packages]
45 MdePkg/MdePkg.dec
46
47 [BuildOptions]
48 GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare
49 *_GCC46_*_CC_FLAGS = -fno-tree-vrp
50 *_GCC47_*_CC_FLAGS = -fno-tree-vrp
51 RVCT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC