Support strfromf128 alias.
commit18c08b96414c7bb01af92bfef8d542ffc7bdaf80
authorJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 23:09:48 +0000 (13 23:09 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 13 Oct 2017 23:09:48 +0000 (13 23:09 +0000)
tree38d8e530b620dea73bf30012b18550e4b3d649cc
parentf8718a9e1620d6645e3c069e9b13fcd09f6db462
Support strfromf128 alias.

This patch adds support for building strfromf128 as an alias of
strfroml, in the case of __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128.

Tested with build-many-glibcs.py that installed stripped shared
libraries are unchanged by this patch.  Also tested together with
changes to enable float128 aliases.

* stdlib/strfroml.c: Include <bits/floatn.h>.
[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
Define before include of <stdlib.h> and undefine afterwards, then
define as weak alias.
ChangeLog
stdlib/strfroml.c