builtins: correct function name for AEABI
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 3 Jun 2019 17:08:13 +0000 (17:08 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 3 Jun 2019 17:08:13 +0000 (17:08 +0000)
If `COMPILER_RT_ARMHF_TARGET` is set , the definition of the AEABI runtime
function `__aeabi_fcmpun` is misspelt: `__aeabi_fcmpum` instead of
`__aeabi_fcmpun`.

Patch by Konstantin Schwarz!

llvm-svn: 362424

compiler-rt/lib/builtins/arm/comparesf2.S

index a87cadf..24b85d2 100644 (file)
@@ -248,11 +248,11 @@ DEFINE_COMPILERRT_FUNCTION(__unordsf2)
 END_COMPILERRT_FUNCTION(__unordsf2)
 
 #if defined(COMPILER_RT_ARMHF_TARGET)
-DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmpum)
+DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmpun)
        vmov s0, r0
        vmov s1, r1
        b SYMBOL_NAME(__unordsf2)
-END_COMPILERRT_FUNCTION(__aeabi_fcmpum)
+END_COMPILERRT_FUNCTION(__aeabi_fcmpun)
 #else
 DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_fcmpun, __unordsf2)
 #endif