[PATCH v4 1/3] Add strfromd, strfromf, and strfroml functions

Joseph Myers joseph@codesourcery.com
Thu Sep 29 00:04:00 GMT 2016


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



More information about the Libc-alpha mailing list