Module Name: src
Committed By: joerg
Date: Sun Nov 16 16:11:33 UTC 2014
Modified Files:
src/lib/libm/arch/m68k: s_copysign.S
Log Message:
Deal with the potential pressence of long double support.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libm/arch/m68k/s_copysign.S
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/arch/m68k/s_copysign.S
diff -u src/lib/libm/arch/m68k/s_copysign.S:1.9 src/lib/libm/arch/m68k/s_copysign.S:1.10
--- src/lib/libm/arch/m68k/s_copysign.S:1.9 Sat Nov 15 21:07:01 2014
+++ src/lib/libm/arch/m68k/s_copysign.S Sun Nov 16 16:11:33 2014
@@ -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.