about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIan Bolton <ian.bolton@arm.com>2014-04-17 15:31:01 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2014-04-17 16:58:35 +0100
commit39e6cd8d643779188fd43d9e2d5ed4e47a64d924 (patch)
treed4ea49efe4d8f28064c471910b6b3df73f01943e
parentf9281df9955fdd11799041ebebd7dc6e4870449a (diff)
downloadglibc-39e6cd8d643779188fd43d9e2d5ed4e47a64d924.tar.gz
glibc-39e6cd8d643779188fd43d9e2d5ed4e47a64d924.tar.xz
glibc-39e6cd8d643779188fd43d9e2d5ed4e47a64d924.zip
Add fenv test support for AArch64.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/aarch64/math-tests.h22
2 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 97ddfa78ef..8b7acf3a86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-17  Ian Bolton  <ian.bolton@arm.com>
+
+	* sysdeps/aarch64/math-tests.h: New file.
+
 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
 
 	* sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
diff --git a/sysdeps/aarch64/math-tests.h b/sysdeps/aarch64/math-tests.h
new file mode 100644
index 0000000000..6a0b898659
--- /dev/null
+++ b/sysdeps/aarch64/math-tests.h
@@ -0,0 +1,22 @@
+/* Configuration for math tests.  AArch64 version.
+   Copyright (C) 2014 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+/* Trapping exceptions are optional on AArch64.  */
+#define EXCEPTION_ENABLE_SUPPORTED(EXCEPT)	((EXCEPT) == 0)
+
+#include_next <math-tests.h>