aboutsummaryrefslogtreecommitdiff
path: root/lib/builtins/comparetf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/comparetf2.c')
-rw-r--r--lib/builtins/comparetf2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/builtins/comparetf2.c b/lib/builtins/comparetf2.c
index a6436de89e76..c0ad8ed0aecd 100644
--- a/lib/builtins/comparetf2.c
+++ b/lib/builtins/comparetf2.c
@@ -79,6 +79,11 @@ COMPILER_RT_ABI enum LE_RESULT __letf2(fp_t a, fp_t b) {
}
}
+#if defined(__ELF__)
+// Alias for libgcc compatibility
+FNALIAS(__cmptf2, __letf2);
+#endif
+
enum GE_RESULT {
GE_LESS = -1,
GE_EQUAL = 0,