Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Define a strong alias, not a weak one
details: https://anonhg.NetBSD.org/src/rev/f9885ef5c5c4
branches: trunk
changeset: 784930:f9885ef5c5c4
user: matt <matt%NetBSD.org@localhost>
date: Thu Feb 14 09:23:40 2013 +0000
description:
Define a strong alias, not a weak one
diffstat:
lib/libm/src/s_fma.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r b9180835decf -r f9885ef5c5c4 lib/libm/src/s_fma.c
--- a/lib/libm/src/s_fma.c Thu Feb 14 09:22:18 2013 +0000
+++ b/lib/libm/src/s_fma.c Thu Feb 14 09:23:40 2013 +0000
@@ -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@localhost>
@@ -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 @@
#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 @@
else
return (add_and_denormalize(r.hi, adj, spread));
}
-
-#ifndef __HAVE_LONG_DOUBLE
-__weak_alias(fma, fmal)
-#endif
Home |
Main Index |
Thread Index |
Old Index