Module Name: src Committed By: martin Date: Thu May 28 10:00:08 UTC 2015
Modified Files: src/lib/libm/arch/m68k [netbsd-7]: s_copysign.S Log Message: Pull up the following revision, requested by joerg in #812: src/lib/libm/arch/m68k/s_copysign.S 1.10 Deal with the potential pressence of long double support. To generate a diff of this commit: cvs rdiff -u -r1.7.74.1 -r1.7.74.2 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.7.74.1 src/lib/libm/arch/m68k/s_copysign.S:1.7.74.2 --- src/lib/libm/arch/m68k/s_copysign.S:1.7.74.1 Wed May 27 09:22:56 2015 +++ src/lib/libm/arch/m68k/s_copysign.S Thu May 28 10:00:08 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: s_copysign.S,v 1.7.74.1 2015/05/27 09:22:56 msaitoh Exp $ */ +/* $NetBSD: s_copysign.S,v 1.7.74.2 2015/05/28 10:00:08 martin 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.7.74.1 2015/05/27 09:22:56 msaitoh Exp $") +RCSID("$NetBSD: s_copysign.S,v 1.7.74.2 2015/05/28 10:00:08 martin 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.