From a2ce37b56442331fed0e58f1301d7b60451f75f8 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 16 Mar 2020 16:28:39 -0300 Subject: [PATCH] math: Remove mathinline With m68k bits moved to internal headers, no architectures export additional optimizations on mathinline. --- bits/mathinline.h | 12 ------------ math/Makefile | 2 +- math/math.h | 6 ------ 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 bits/mathinline.h diff --git a/bits/mathinline.h b/bits/mathinline.h deleted file mode 100644 index 02ec21b..0000000 --- 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 0a5a404..b1739ab 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 1692ff4..5c3dcb9 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 -#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). */ -- 2.7.4