This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v4 1/3] Add strfromd, strfromf, and strfroml functions
This patch is missing pieces needed for compatibility with
-mlong-double-64 on platforms with a choice of long double types.
That is: you need to add a call to __LDBL_REDIR1_DECL in
stdlib/bits/stdlib-ldbl.h (under the same conditions as the strfrom
functions are declared in stdlib.h), so that strfroml gets redirected to
strfromd for compilations with -mlong-double-64. Then you need
sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c, like nldbl-strtold.c, and
libnldbl-calls in sysdeps/ieee754/ldbl-opt/Makefile needs strfroml added
(libnldbl being for the case where someone compiled with a compiler not
supporting the header redirections).
--
Joseph S. Myers
joseph@codesourcery.com