Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm put have fenv stuff elsewhere.
details: https://anonhg.NetBSD.org/src/rev/255414400ab2
branches: trunk
changeset: 342443:255414400ab2
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 22 14:20:59 2015 +0000
description:
put have fenv stuff elsewhere.
diffstat:
tests/lib/libm/Makefile | 10 +---------
tests/lib/libm/t_fenv.c | 8 ++++----
2 files changed, 5 insertions(+), 13 deletions(-)
diffs (50 lines):
diff -r 0a27a2d4aa66 -r 255414400ab2 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile Tue Dec 22 14:18:35 2015 +0000
+++ b/tests/lib/libm/Makefile Tue Dec 22 14:20:59 2015 +0000
@@ -1,17 +1,9 @@
-# $NetBSD: Makefile,v 1.34 2015/12/22 08:26:16 martin Exp $
+# $NetBSD: Makefile,v 1.35 2015/12/22 14:20:59 christos Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/lib/libm
-.if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
- || ${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "powerpc" \
- || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
- || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" \
- || ${MACHINE_ARCH} == "mips"
-CPPFLAGS+= -DHAVE_FENV_H
-.endif
-
.if ${MACHINE} == "alpha"
COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.endif
diff -r 0a27a2d4aa66 -r 255414400ab2 tests/lib/libm/t_fenv.c
--- a/tests/lib/libm/t_fenv.c Tue Dec 22 14:18:35 2015 +0000
+++ b/tests/lib/libm/t_fenv.c Tue Dec 22 14:20:59 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fenv.c,v 1.2 2014/12/29 19:51:53 martin Exp $ */
+/* $NetBSD: t_fenv.c,v 1.3 2015/12/22 14:20:59 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,15 +29,15 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_fenv.c,v 1.2 2014/12/29 19:51:53 martin Exp $");
+__RCSID("$NetBSD: t_fenv.c,v 1.3 2015/12/22 14:20:59 christos Exp $");
#include <atf-c.h>
-#ifdef HAVE_FENV_H
+#include <fenv.h>
+#ifdef __HAVE_FENV
#include <ieeefp.h>
#include <stdlib.h>
-#include <fenv.h>
#if __arm__ && !__SOFTFP__
Home |
Main Index |
Thread Index |
Old Index