Module Name: src
Committed By: matt
Date: Thu Feb 14 09:23:40 UTC 2013
Modified Files:
src/lib/libm/src: s_fma.c
Log Message:
Define a strong alias, not a weak one
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libm/src/s_fma.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/src/s_fma.c
diff -u src/lib/libm/src/s_fma.c:1.4 src/lib/libm/src/s_fma.c:1.5
--- src/lib/libm/src/s_fma.c:1.4 Tue Feb 12 08:21:48 2013
+++ src/lib/libm/src/s_fma.c Thu Feb 14 09:23:40 2013
@@ -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 <[email protected]>
@@ -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/
#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