OSDN Git Service

2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Wed, 16 Apr 2003 15:45:29 +0000 (15:45 +0000)
committerjjohnstn <jjohnstn>
Wed, 16 Apr 2003 15:45:29 +0000 (15:45 +0000)
        * 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.

15 files changed:
newlib/ChangeLog
newlib/libc/machine/powerpc/atosfix16.c
newlib/libc/machine/powerpc/atosfix32.c
newlib/libc/machine/powerpc/atosfix64.c
newlib/libc/machine/powerpc/atoufix16.c
newlib/libc/machine/powerpc/atoufix32.c
newlib/libc/machine/powerpc/atoufix64.c
newlib/libc/machine/powerpc/simdldtoa.c
newlib/libc/machine/powerpc/strtosfix16.c
newlib/libc/machine/powerpc/strtosfix32.c
newlib/libc/machine/powerpc/strtosfix64.c
newlib/libc/machine/powerpc/strtoufix16.c
newlib/libc/machine/powerpc/strtoufix32.c
newlib/libc/machine/powerpc/strtoufix64.c
newlib/libc/machine/powerpc/ufix64toa.c

index b82bd80..a820f04 100644 (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
index 819c2f0..501c0f1 100644 (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__ */
index 5d55e45..dbcac7e 100644 (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__ */
index b720d38..109baf7 100644 (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__ */
index a84c4c7..53db137 100644 (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__ */
index f3ef1d4..ee29ac5 100644 (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__ */
index c2a7ede..e5eefc4 100644 (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__ */
index d15133a..71ff121 100644 (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__ */
index ad62997..d3cfe07 100644 (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__ */
index 0f2ded6..2e22c14 100644 (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__ */
index d0fa769..09999c1 100644 (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__ */
index 0c1fad3..d90255c 100644 (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__ */
index 141c627..25e9d14 100644 (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__ */
index e06f4db..47a7984 100644 (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__ */
index 4d3d0a8..6f0d128 100644 (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__ */