aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-06 15:02:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-06 15:02:12 +0000
commit6dff1983695fe0a5dc80e41edfa4b0dac9fecac2 (patch)
tree29aee7333eb52e36b9b605b884533fe5ccaccbec
parent5a907168918805bbe3088dc4ab051e3e78ad7459 (diff)
downloadglibc-6dff1983695fe0a5dc80e41edfa4b0dac9fecac2.zip
glibc-6dff1983695fe0a5dc80e41edfa4b0dac9fecac2.tar.gz
glibc-6dff1983695fe0a5dc80e41edfa4b0dac9fecac2.tar.bz2
Remove redundant ldbl-64-128 files.
Various source files in ldbl-64-128 are redundant, because they wrap files that no longer provide public symbols that need special versioning (those symbols having moved to separate errno-setting wrappers), or, in the case of w_scalblnl.c, because the type-generic template now does everything required (it deals with symbol versioning for use in libm, and this file is never built for libc anyway - the compat scalbln* symbols in libc, as opposed to scalbn*, are only for i386 and m68k and are aliases to the corresponding scalbn* symbols). This patch removes those redundant files. Tested with build-many-glibcs.py (for all ldbl-64-128 configurations) that installed stripped shared libraries are unchanged by this patch. * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file. * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/ieee754/ldbl-64-128/e_ilogbl.c2
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_log1pl.c2
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_scalblnl.c4
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_scalbnl.c4
-rw-r--r--sysdeps/ieee754/ldbl-64-128/w_scalblnl.c26
6 files changed, 8 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index bb81b9c..9ad7eae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-10-06 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
+ * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
+ * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
+
2017-10-05 Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/libm-test-ulps: Update.
diff --git a/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c b/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
deleted file mode 100644
index 75a38e1..0000000
--- a/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/ldbl-128/e_ilogbl.c>
diff --git a/sysdeps/ieee754/ldbl-64-128/s_log1pl.c b/sysdeps/ieee754/ldbl-64-128/s_log1pl.c
deleted file mode 100644
index 11d56bf..0000000
--- a/sysdeps/ieee754/ldbl-64-128/s_log1pl.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/ldbl-128/s_log1pl.c>
diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c
deleted file mode 100644
index 97181d2..0000000
--- a/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <math_ldbl_opt.h>
-#undef weak_alias
-#define weak_alias(n,a)
-#include <sysdeps/ieee754/ldbl-128/s_scalblnl.c>
diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c
deleted file mode 100644
index 15af1b2..0000000
--- a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <math_ldbl_opt.h>
-#undef weak_alias
-#define weak_alias(n,a)
-#include <sysdeps/ieee754/ldbl-128/s_scalbnl.c>
diff --git a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c
deleted file mode 100644
index fef2507..0000000
--- a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Wrapper for __scalblnl handles setting errno.
- Copyright (C) 2014-2017 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/>. */
-
-#define declare_mgen_alias(from, to)
-#include <math-type-macros-ldouble.h>
-#include <w_scalbln_template.c>
-#if IS_IN (libm)
-long_double_symbol (libm, __w_scalblnl, scalblnl);
-#else
-long_double_symbol (libc, __w_scalblnl, scalblnl);
-#endif