about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-16 16:28:39 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-19 11:45:44 -0300
commita2ce37b56442331fed0e58f1301d7b60451f75f8 (patch)
tree3a26cab8a262313a62e21690b942b577d3e756f4
parent4bad2e014e5e2a835cca6139b5e5a0f42ed0ea05 (diff)
downloadglibc-a2ce37b56442331fed0e58f1301d7b60451f75f8.tar.gz
glibc-a2ce37b56442331fed0e58f1301d7b60451f75f8.tar.xz
glibc-a2ce37b56442331fed0e58f1301d7b60451f75f8.zip
math: Remove mathinline
With m68k bits moved to internal headers, no architectures export
additional optimizations on mathinline.
-rw-r--r--bits/mathinline.h12
-rw-r--r--math/Makefile2
-rw-r--r--math/math.h6
3 files changed, 1 insertions, 19 deletions
diff --git a/bits/mathinline.h b/bits/mathinline.h
deleted file mode 100644
index 02ec21b438..0000000000
--- a/bits/mathinline.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* This file should provide inline versions of math functions.
-
-   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
-
-   This file should define __MATH_INLINES if functions are actually defined as
-   inlines.  */
-
-#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
-
-/* Here goes the real code.  */
-
-#endif
diff --git a/math/Makefile b/math/Makefile
index 0a5a40430e..b1739ab416 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -22,7 +22,7 @@ subdir		:= math
 include ../Makeconfig
 
 # Installed header files.
-headers		:= math.h bits/mathcalls.h bits/mathinline.h \
+headers		:= math.h bits/mathcalls.h \
 		   fpu_control.h complex.h bits/cmathcalls.h fenv.h \
 		   bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \
 		   bits/math-vector.h finclude/math-vector-fortran.h \
diff --git a/math/math.h b/math/math.h
index 1692ff4a45..5c3dcb9194 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1301,12 +1301,6 @@ iszero (__T __val)
 # endif
 #endif
 
-/* Get machine-dependent inline versions (if there are any).  */
-#ifdef __USE_EXTERN_INLINES
-# include <bits/mathinline.h>
-#endif
-
-
 #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
 /* An expression whose type has the widest of the evaluation formats
    of X and Y (which are of floating-point types).  */