summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-03-02 12:02:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-03-02 12:02:43 +0000
commit8ee2b873f17f0a4f8c1aa54bcab435d133537101 (patch)
tree6820d5c6753a6ae546a4b70c412c985855cebde3
parenta4ca27f2b764288c525e1b603632cccdfaf4efd8 (diff)
Provide the missing fabsl alias to fabs.
No shlib_version change needed, jumping on the version bump of the mkdtems addition.
-rw-r--r--lib/libc/arch/m88k/Symbols.list1
-rw-r--r--lib/libc/arch/m88k/gen/fabs.S3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/arch/m88k/Symbols.list b/lib/libc/arch/m88k/Symbols.list
index b1a72046019..3faaeef61bc 100644
--- a/lib/libc/arch/m88k/Symbols.list
+++ b/lib/libc/arch/m88k/Symbols.list
@@ -3,6 +3,7 @@ __mcount
__modsi3
__udivsi3
__umodsi3
+fabsl
frexpl
ldexpl
modfl
diff --git a/lib/libc/arch/m88k/gen/fabs.S b/lib/libc/arch/m88k/gen/fabs.S
index 6ba92a9e90a..3e0742d3eef 100644
--- a/lib/libc/arch/m88k/gen/fabs.S
+++ b/lib/libc/arch/m88k/gen/fabs.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.S,v 1.11 2013/01/11 21:23:24 miod Exp $ */
+/* $OpenBSD: fabs.S,v 1.12 2024/03/02 12:02:42 miod Exp $ */
/*-
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -35,6 +35,7 @@
* Will work only if the argument passed is in IEEE format!
*/
+STRONG_ALIAS(fabsl, fabs)
ENTRY(fabs)
subu %r31,%r31,16
st.d %r2,%r31,0