diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2017-05-04 14:47:27 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2017-05-04 14:47:27 -0300 |
commit | 593bf7189a82b9b2874d41c71cb2109482a9f201 (patch) | |
tree | 6a1b514c390699f658e9b182345c1a03dbe45e14 /sysdeps/generic | |
parent | 4c3992fc459322a7c712700ba3244fcb125163d7 (diff) | |
download | glibc-593bf7189a82b9b2874d41c71cb2109482a9f201.zip glibc-593bf7189a82b9b2874d41c71cb2109482a9f201.tar.gz glibc-593bf7189a82b9b2874d41c71cb2109482a9f201.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/math_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h index aba1cb9..4d8a35f 100644 --- a/sysdeps/generic/math_private.h +++ b/sysdeps/generic/math_private.h @@ -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> |