From f9102cdabba485d415359124bece145f4a7d9089 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 16 May 2017 19:47:19 +0000 Subject: Vendor import of compiler-rt trunk r303197: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303197 --- lib/builtins/subdf3.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/builtins/subdf3.c') diff --git a/lib/builtins/subdf3.c b/lib/builtins/subdf3.c index 7a79e5e7765d..38340dfab1a6 100644 --- a/lib/builtins/subdf3.c +++ b/lib/builtins/subdf3.c @@ -15,11 +15,15 @@ #define DOUBLE_PRECISION #include "fp_lib.h" -ARM_EABI_FNALIAS(dsub, subdf3) - // Subtraction; flip the sign bit of b and add. COMPILER_RT_ABI fp_t __subdf3(fp_t a, fp_t b) { return __adddf3(a, fromRep(toRep(b) ^ signBit)); } +#if defined(__ARM_EABI__) +AEABI_RTABI fp_t __aeabi_dsub(fp_t a, fp_t b) { + return __subdf3(a, b); +} +#endif + -- cgit v1.2.3