1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

ldbl-128: Use mathx_hidden_def inplace of hidden_def

This provides a extra macro expansion before invoking
the hidden_def macro.  This is necessary to build the
ldbl-128 files as float128 correctly.

	* sysdeps/generic/math_private.h:
	(mathx_hidden_def): New macro.
	* sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
	the above.
	* sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
This commit is contained in:
Paul E. Murphy
2017-05-04 14:47:27 -03:00
committed by Tulio Magno Quites Machado Filho
parent 4c3992fc45
commit 593bf7189a
5 changed files with 15 additions and 3 deletions

View File

@ -181,6 +181,10 @@ do { \
} while (0)
#endif
/* We need to guarantee an expansion of name when building
ldbl-128 files as another type (e.g _Float128). */
#define mathx_hidden_def(name) hidden_def(name)
/* Get long double macros from a separate header. */
#include <math_ldbl.h>