about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-09-05 12:42:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-09-05 12:42:51 +0000
commitb7cdc2aeb16c07fd9e6ec59f96f862b7fe2d3fdd (patch)
tree48291c073888b2eed2a2843d371c7385047c50c5
parentb9d8c47472d4acbd6b1be59c3731ecbfb790b5ce (diff)
downloadglibc-b7cdc2aeb16c07fd9e6ec59f96f862b7fe2d3fdd.tar.gz
glibc-b7cdc2aeb16c07fd9e6ec59f96f862b7fe2d3fdd.tar.xz
glibc-b7cdc2aeb16c07fd9e6ec59f96f862b7fe2d3fdd.zip
Remove alpha math_private.h.
After some math_private.h cleanups (in particulat math-barriers.h
being split out), the only thing left in the alpha math_private.h was
macro definitions of __isnan and __isnanf, apparently (based on the
comments) intended to avoid problems with inline definitions in other
math_private.h files.  Those inline definitions were removed in commit
fe8c2b33aed067282ecac0cc3fdff1feef88548b, and the alpha math_private.h
is no longer needed; this patch removes it.

Tested with build-many-glibcs.py that installed stripped shared
libraries for alpha are unchanged by the patch.

	* sysdeps/alpha/fpu/math_private.h: Remove.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/alpha/fpu/math_private.h18
2 files changed, 2 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fd46f0278..14736f1f5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2018-09-05  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/alpha/fpu/math_private.h: Remove.
+
 	* sysdeps/generic/math_private.h
 	[__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
 	Move this inline function ....
diff --git a/sysdeps/alpha/fpu/math_private.h b/sysdeps/alpha/fpu/math_private.h
deleted file mode 100644
index c71447abf0..0000000000
--- a/sysdeps/alpha/fpu/math_private.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef ALPHA_MATH_PRIVATE_H
-#define ALPHA_MATH_PRIVATE_H 1
-
-/* In bits/mathinline.h we define __isnan et al.
-   In sysdeps/alpha/fpu/s_isnan.c we move the identifier out of the way
-   via macro hackery.  In both cases, tell math/math_private.h that
-   we have a local copy of the function.  */
-
-#ifndef __isnan
-# define __isnan  __isnan
-#endif
-#ifndef __isnanf
-# define __isnanf __isnanf
-#endif
-
-#include_next <math_private.h>
-
-#endif /* ALPHA_MATH_PRIVATE_H */