ArmPkg: factor out softfloat support from StdLib/LibC/SoftFloat
In order to support software floating point in the context of DXE drivers etc, this factors out the core ARM softfloat support into a separate library. 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@19030 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
abiesheuvel
parent
cd32c66f94
commit
1dbda2b4cf
48
ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
Normal file
48
ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
Normal file
@@ -0,0 +1,48 @@
|
||||
## @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 -fno-tree-vrp
|
Reference in New Issue
Block a user