diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-11-24 23:12:30 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-11-24 23:12:30 +0000 |
commit | df2806cdb57cb765aca169d17308eb4f0e89369f (patch) | |
tree | 6df49a8eeed9c3a32f4b48922779da6a265c4d0e /ChangeLog | |
parent | 0df4fe3557bfbc7fc64a05601311da0365ba88b2 (diff) | |
download | glibc-df2806cdb57cb765aca169d17308eb4f0e89369f.tar glibc-df2806cdb57cb765aca169d17308eb4f0e89369f.tar.gz glibc-df2806cdb57cb765aca169d17308eb4f0e89369f.tar.bz2 glibc-df2806cdb57cb765aca169d17308eb4f0e89369f.zip |
Support strfromf64x alias.
This patch adds support for defining strfromf64x as a function alias
(of strfroml or strfromf128, as appropriate) when _Float64x is
supported.
Tested for x86_64, including in conjunction with _Float64x support
patches, and also tested build for other configurations (in
conjunction with _Float64x support patches) with build-many-glibcs.py
to cover the various different files needing updating to define these
aliases.
* stdlib/strfroml.c: Always include <stdlib.h>.
[__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
undefine as macro and define as weak alias.
* sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
[__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
<stdlib.h>.
[__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
Define and later undefine as macro and define as weak alias.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,14 @@ 2017-11-24 Joseph Myers <joseph@codesourcery.com> + * stdlib/strfroml.c: Always include <stdlib.h>. + [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later + undefine as macro and define as weak alias. + * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>. + [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include + <stdlib.h>. + [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): + Define and later undefine as macro and define as weak alias. + * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x): Define and later undefine as macro. Define as weak alias if [!USE_WIDE_CHAR]. |