acadia-newlib/newlib/libc/machine/powerpc
Corinna Vinschen fbace81684 Import correctly working strtold from David M. Gay.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add strtodg.c and
	strtorx.c.
	* libc/stdlib/Makefile.in: Regenerate.
	* libc/stdlib/strtodg.c: New file implementing generic string to long
	double conversion.
	* libc/stdlib/strtorx.c: New file, implementing IEEE format string to
	long double conversion.
	* libc/stdlib/mprec.h (_strtodg_r): Declare.
	(_strtorx_r): Declare.
	* libc/stdlib/gdtoa.h (__UShort): Define.
	* libc/stdlib/strtold.c (__flt_rounds): Define for i386 and x86_64
	target.
	(FLT_ROUNDS): Define, as 0 on platforms missing a __flt_rounds
	function.
	(_strtold_r): Converted from strtold.  Call _strtorx_r on targets
	supporting distinct long doubles.
	(strtold): Just call _strtold_r.
	* libc/include/stdlib.h (_strtold_r): Declare.
	* libc/stdlib/ldtoa.c (_strtold): Comment out.  Explain why.
	* libc/stdio/vfscanf.c (__SVFSCANF_R): Call _strtold_r instead of
	_strtold.
	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.

	* common.din (strtold): Drop redirection to _strtold.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-11-20 18:14:58 +01:00
..
machine 2003-08-13 Aldy Hernandez <aldyh@redhat.com> 2003-08-13 17:45:31 +00:00
Makefile.am 2013-07-17 Janis Johnson <janisjo@codesourcery.com> 2013-07-17 16:38:04 +00:00
Makefile.in 2013-07-17 Janis Johnson <janisjo@codesourcery.com> 2013-07-17 16:38:04 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
atosfix16.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
atosfix32.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
atosfix64.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
atoufix16.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
atoufix32.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
atoufix64.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in 2013-07-17 Janis Johnson <janisjo@codesourcery.com> 2013-07-17 16:38:04 +00:00
fix64.h 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> 2003-09-09 22:53:27 +00:00
setjmp.S 2007-01-15 Joseph Myers <joseph@codesourcery.com> 2007-01-15 16:41:08 +00:00
simdldtoa.c 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> 2003-09-09 22:53:27 +00:00
strtosfix16.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
strtosfix32.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
strtosfix64.c 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> 2003-09-09 22:53:27 +00:00
strtoufix16.c 2003-04-16 Jeff Johnston <jjohnstn@redhat.com> 2003-04-16 15:45:29 +00:00
strtoufix32.c 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> 2003-09-09 22:53:27 +00:00
strtoufix64.c 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> 2003-09-09 22:53:27 +00:00
ufix64toa.c 2003-11-10 Jeff Johnston <jjohnstn@redhat.com> 2003-11-10 21:36:38 +00:00
vec_calloc.c 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
vec_free.c 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
vec_malloc.c 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
vec_mallocr.c 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
vec_realloc.c 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
vfprintf.c 2008-02-12 Jeff Johnston <jjohnstn@redhat.com> 2008-02-12 18:07:55 +00:00
vfscanf.c Import correctly working strtold from David M. Gay. 2015-11-20 18:14:58 +01:00