aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-04 15:57:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-04 15:57:53 +0000
commit72d13ed1bdb3154adce67a74b7d6ec240a6b12a4 (patch)
tree020b5fcf14b32e1255d04eb14991faccf9cacdd5
parent11c4f5010c58029e73e656d5df4f8f42c9b8e877 (diff)
downloadglibc-72d13ed1bdb3154adce67a74b7d6ec240a6b12a4.zip
glibc-72d13ed1bdb3154adce67a74b7d6ec240a6b12a4.tar.gz
glibc-72d13ed1bdb3154adce67a74b7d6ec240a6b12a4.tar.bz2
Remove alpha nearbyint wrapper.
Given my recent changes, sysdeps/alpha/fpu/s_nearbyint.c is no longer needed: it just includes the dbl-64/wordsize-64 version, which is the one that would be used anyway, and defines a compat symbol, duplicating the same compat symbol defined by the dbl-64/wordsize-64 version through use of libm_alias_double. Thus, this patch removes the redundant wrapper. Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged for alpha. * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/alpha/fpu/s_nearbyint.c25
2 files changed, 4 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index 31f402a..d326995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-04 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
+
2017-10-04 Florian Weimer <fweimer@redhat.com>
* scripts/check-local-headers.sh: Ignore nspr4 header file
diff --git a/sysdeps/alpha/fpu/s_nearbyint.c b/sysdeps/alpha/fpu/s_nearbyint.c
deleted file mode 100644
index c3f204fff..0000000
--- a/sysdeps/alpha/fpu/s_nearbyint.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (C) 2000-2017 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
- Contributed by Richard Henderson.
-
- 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 <math_ldbl_opt.h>
-
-#include <sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c>
-
-#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)
-compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1);
-#endif