2003-04-16 Jeff Johnston <jjohnstn@redhat.com>

* newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
        all code with #ifdef __SPE__ test.
        * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
This commit is contained in:
Jeff Johnston 2003-04-16 15:45:29 +00:00
parent 8425a8ce49
commit 57ff95d35b
15 changed files with 53 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
* newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
all code with #ifdef __SPE__ test.
* newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
2003-04-15 Chris January <chris@atomice.net>
* newlib/libc/include/sys/unistd.h: add declaration for gethostid on

View File

@ -79,6 +79,8 @@ PORTABILITY
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -100,3 +102,4 @@ _DEFUN (atosfix16, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -2,6 +2,8 @@
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -23,3 +25,4 @@ _DEFUN (atosfix32, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -2,6 +2,8 @@
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -23,3 +25,4 @@ _DEFUN (atosfix64, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -79,6 +79,8 @@ PORTABILITY
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -100,3 +102,4 @@ _DEFUN (atoufix16, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -2,6 +2,8 @@
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -23,3 +25,4 @@ _DEFUN (atoufix32, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -2,6 +2,8 @@
* Jeff Johnston - 02/13/2002
*/
#ifdef __SPE__
#include <stdlib.h>
#include <_ansi.h>
@ -23,3 +25,4 @@ _DEFUN (atoufix64, (s),
#endif /* !_REENT_ONLY */
#endif /* __SPE__ */

View File

@ -3,6 +3,8 @@
* This program has been placed in the public domain.
*/
#ifdef __SPE__
#include <_ansi.h>
#include <reent.h>
#include <string.h>
@ -3718,6 +3720,4 @@ for (i=0; i < n; i++)
*nan++ = *p++;
}
#endif /* __SPE__ */

View File

@ -106,6 +106,8 @@ PORTABILITY
The OS subroutines of <<strtod>> are required.
*/
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -204,3 +206,5 @@ _DEFUN (strtosfix16, (s, ptr, base),
}
#endif
#endif /* __SPE__ */

View File

@ -1,3 +1,5 @@
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -98,3 +100,5 @@ _DEFUN (strtosfix32, (s, ptr, base),
}
#endif
#endif /* __SPE__ */

View File

@ -1,3 +1,5 @@
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -111,3 +113,5 @@ _DEFUN (strtosfix64, (s, ptr, base),
}
#endif
#endif /* __SPE__ */

View File

@ -105,6 +105,8 @@ PORTABILITY
The OS subroutines of <<strtod>> are required.
*/
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -195,3 +197,5 @@ _DEFUN (strtoufix16, (s, ptr, base),
}
#endif
#endif /* __SPE__ */

View File

@ -1,3 +1,5 @@
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -95,3 +97,5 @@ _DEFUN (strtoufix32, (s, ptr, base),
}
#endif
#endif /* __SPE__ */

View File

@ -1,3 +1,5 @@
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -111,5 +113,4 @@ _DEFUN (strtoufix64, (s, ptr, base),
#endif
#endif /* __SPE__ */

View File

@ -6,6 +6,8 @@
* Written by Jeff Johnston.
*/
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
@ -86,3 +88,4 @@ _DEFUN (_ufix64toa_r, (rptr, value, mode, ndigits, decpt, sign, rve),
return _simdldtoa_r (rptr, &ldbl, mode, ndigits, decpt, sign, rve);
}
#endif /* __SPE__ */