]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: Remove mathinline
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Mar 2020 19:28:39 +0000 (16:28 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 19 Mar 2020 14:45:44 +0000 (11:45 -0300)
With m68k bits moved to internal headers, no architectures export
additional optimizations on mathinline.

bits/mathinline.h [deleted file]
math/Makefile
math/math.h

diff --git a/bits/mathinline.h b/bits/mathinline.h
deleted file mode 100644 (file)
index 02ec21b..0000000
+++ /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
index 0a5a40430e22ec422388debfbeb1679eac8d12a0..b1739ab416f1d515793cd1b24370a15333712bf9 100644 (file)
@@ -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 \
index 1692ff4a45a6242a61a66d84163f0771f3d88106..5c3dcb919479ea808c4d153a330fb5e3ad440953 100644 (file)
@@ -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).  */