Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/arch/m68k Deal with the potential pressence of long...



details:   https://anonhg.NetBSD.org/src/rev/02460a2874db
branches:  trunk
changeset: 333787:02460a2874db
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Nov 16 16:11:33 2014 +0000

description:
Deal with the potential pressence of long double support.

diffstat:

 lib/libm/arch/m68k/s_copysign.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 3acf14fda8e4 -r 02460a2874db lib/libm/arch/m68k/s_copysign.S
--- a/lib/libm/arch/m68k/s_copysign.S   Sun Nov 16 16:01:39 2014 +0000
+++ b/lib/libm/arch/m68k/s_copysign.S   Sun Nov 16 16:11:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: s_copysign.S,v 1.9 2014/11/15 21:07:01 joerg Exp $     */
+/*     $NetBSD: s_copysign.S,v 1.10 2014/11/16 16:11:33 joerg Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -34,14 +34,17 @@
  */
 
 #include <machine/asm.h>
+#include <machine/math.h>
 
 ;_sccsid:
 ;.asciz        "from: @(#)support.s    5.2 (Berkeley) 5/17/90"
 
-RCSID("$NetBSD: s_copysign.S,v 1.9 2014/11/15 21:07:01 joerg Exp $")
+RCSID("$NetBSD: s_copysign.S,v 1.10 2014/11/16 16:11:33 joerg Exp $")
 
+#if !defined(__HAVE_LONG_DOUBLE)
 STRONG_ALIAS(_copysignl, copysign)
 WEAK_ALIAS(copysignl, _copysignl)
+#endif
 
 | copysign(x,y)
 | returns x with the sign of y.



Home | Main Index | Thread Index | Old Index