summaryrefslogtreecommitdiff
path: root/math/test-ildouble.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-06-03 15:44:12 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-03 11:05:22 -0500
commitb9e05ed07a3d805f12effa6b86c41a9d9c13a1f1 (patch)
treeb6f65cad02f014102fe0d4204a940dc4582ff376 /math/test-ildouble.c
parentcad1d6066fa52caa89d15b21b047178d9a8c25f3 (diff)
downloadglibc-b9e05ed07a3d805f12effa6b86c41a9d9c13a1f1.tar.gz
Refactor part of math Makefile
In order to support more types, the Makefile needs a few bits shuffled. F is explictly used as a placeholder to substitute for the appropriate type suffix. This removes the need to demangle _r suffixed objects. The variable libm-compat-calls is added to house any objects which are only built to provide compat symbols within libm. That is, no newly added type should ever attempt building these. Note, k_standard* files have been added there. By consensus they are deprecated; in practice, we haven't gotten there yet. New types would be added as noted in the comments preceding type-TYPE-{suffix,routines,yes} variables. However, some manual additions will still need to be done to add appropriate flags when building the various variants of libm-test.c for a new type. Likewise, test-ildoubl is renamed test-ildouble for consistency's sake.
Diffstat (limited to 'math/test-ildouble.c')
-rw-r--r--math/test-ildouble.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/test-ildouble.c b/math/test-ildouble.c
new file mode 100644
index 0000000000..dc0efaa879
--- /dev/null
+++ b/math/test-ildouble.c
@@ -0,0 +1,25 @@
+/* Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Andreas Jaeger <aj@suse.de>, 1997.
+
+ 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/>. */
+
+#include "test-ldouble.h"
+#include "test-math-inline.h"
+#include "test-math-scalar.h"
+
+#define TEST_MSG "testing long double (inline functions)\n"
+
+#include "libm-test.c"