summaryrefslogtreecommitdiff
path: root/lib/libm/src
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2013-02-14 09:23:40 +0000
committermatt <matt@NetBSD.org>2013-02-14 09:23:40 +0000
commitf01b10fffd35d9b05cc78cebeaea2e56e8650f67 (patch)
treec3b360a907ef36266999f32fa53520e45f289d3d /lib/libm/src
parent1f4c72b83991742930354858bffa316e1cda7bca (diff)
Define a strong alias, not a weak one
Diffstat (limited to 'lib/libm/src')
-rw-r--r--lib/libm/src/s_fma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libm/src/s_fma.c b/lib/libm/src/s_fma.c
index a6637c0a7b6..9d58888638c 100644
--- a/lib/libm/src/s_fma.c
+++ b/lib/libm/src/s_fma.c
@@ -1,4 +1,4 @@
-/* $NetBSD: s_fma.c,v 1.4 2013/02/12 08:21:48 martin Exp $ */
+/* $NetBSD: s_fma.c,v 1.5 2013/02/14 09:23:40 matt Exp $ */
/*-
* Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG>
@@ -30,7 +30,7 @@
#if 0
__FBSDID("$FreeBSD: src/lib/msun/src/s_fma.c,v 1.8 2011/10/21 06:30:43 das Exp $");
#else
-__RCSID("$NetBSD: s_fma.c,v 1.4 2013/02/12 08:21:48 martin Exp $");
+__RCSID("$NetBSD: s_fma.c,v 1.5 2013/02/14 09:23:40 matt Exp $");
#endif
#include <machine/ieee.h>
@@ -40,6 +40,10 @@ __RCSID("$NetBSD: s_fma.c,v 1.4 2013/02/12 08:21:48 martin Exp $");
#include "math_private.h"
+#ifndef __HAVE_LONG_DOUBLE
+STRONG_ALIAS(fmal, fma)
+#endif
+
/*
* A struct dd represents a floating-point number with twice the precision
* of a double. We maintain the invariant that "hi" stores the 53 high-order
@@ -287,7 +291,3 @@ fma(double x, double y, double z)
else
return (add_and_denormalize(r.hi, adj, spread));
}
-
-#ifndef __HAVE_LONG_DOUBLE
-__weak_alias(fma, fmal)
-#endif