aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--math/libm-test-driver.c3
-rw-r--r--math/libm-test-support.c2
-rw-r--r--math/libm-test-support.h1
4 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 27f41f7ad0..f83f37ad7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-02-14 Joseph Myers <joseph@codesourcery.com>
+
+ * math/libm-test-support.h: Do not include <math-tests-arch.h>
+ here.
+ * math/libm-test-support.c (libm_test_init): Do not call
+ INIT_ARCH_EXT here.
+ * math/libm-test-driver.c: Include <math-tests-arch.h>.
+ (main): Call INIT_ARCH_EXT.
+
2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
[BZ #21130]
diff --git a/math/libm-test-driver.c b/math/libm-test-driver.c
index 1539cd7e4d..d24c5aadaf 100644
--- a/math/libm-test-driver.c
+++ b/math/libm-test-driver.c
@@ -18,6 +18,8 @@
#include "libm-test-support.h"
+#include <math-tests-arch.h>
+
/* Flags set by the including file. */
const int flag_test_errno = TEST_ERRNO;
const int flag_test_exceptions = TEST_EXCEPTIONS;
@@ -1010,6 +1012,7 @@ int
main (int argc, char **argv)
{
libm_test_init (argc, argv);
+ INIT_ARCH_EXT;
do_test ();
return libm_test_finish ();
}
diff --git a/math/libm-test-support.c b/math/libm-test-support.c
index d387f813d0..8890c1cbdd 100644
--- a/math/libm-test-support.c
+++ b/math/libm-test-support.c
@@ -1182,8 +1182,6 @@ libm_test_init (int argc, char **argv)
initialize ();
fputs (test_msg, stdout);
- INIT_ARCH_EXT;
-
check_ulp ();
}
diff --git a/math/libm-test-support.h b/math/libm-test-support.h
index 5c9af04f1a..2b95497148 100644
--- a/math/libm-test-support.h
+++ b/math/libm-test-support.h
@@ -30,7 +30,6 @@
#include <stdio.h>
#include <tininess.h>
#include <math-tests.h>
-#include <math-tests-arch.h>
#include <nan-high-order-bit.h>
extern const int flag_test_errno;