Index: lib/builtins/comparedf2.c =================================================================== --- lib/builtins/comparedf2.c +++ lib/builtins/comparedf2.c @@ -80,6 +80,10 @@ } } +// Alias for libgcc compatibility +COMPILER_RT_ABI enum LE_RESULT +__cmpdf2(fp_t a, fp_t b) __attribute__((alias("__ledf2"))); + enum GE_RESULT { GE_LESS = -1, GE_EQUAL = 0, Index: lib/builtins/comparesf2.c =================================================================== --- lib/builtins/comparesf2.c +++ lib/builtins/comparesf2.c @@ -80,6 +80,10 @@ } } +// Alias for libgcc compatibility +COMPILER_RT_ABI enum LE_RESULT +__cmpsf2(fp_t a, fp_t b) __attribute__((alias("__lesf2"))); + enum GE_RESULT { GE_LESS = -1, GE_EQUAL = 0, Index: lib/builtins/comparetf2.c =================================================================== --- lib/builtins/comparetf2.c +++ lib/builtins/comparetf2.c @@ -79,6 +79,10 @@ } } +// Alias for libgcc compatibility +COMPILER_RT_ABI enum LE_RESULT +__cmptf2(fp_t a, fp_t b) __attribute__((alias("__letf2"))); + enum GE_RESULT { GE_LESS = -1, GE_EQUAL = 0,