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