aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-04-16 15:45:29 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-04-16 15:45:29 +0000
commit57ff95d35bbcb72c45648968b4d7e3b5be1e71e5 (patch)
treed80f8632261215f9d2a9a959de9716fa553dc450 /newlib
parent8425a8ce499b9e9d15ff13d44d19f4b5cafbeb67 (diff)
downloadnewlib-57ff95d35bbcb72c45648968b4d7e3b5be1e71e5.zip
newlib-57ff95d35bbcb72c45648968b4d7e3b5be1e71e5.tar.gz
newlib-57ff95d35bbcb72c45648968b4d7e3b5be1e71e5.tar.bz2
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.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/machine/powerpc/atosfix16.c3
-rw-r--r--newlib/libc/machine/powerpc/atosfix32.c3
-rw-r--r--newlib/libc/machine/powerpc/atosfix64.c3
-rw-r--r--newlib/libc/machine/powerpc/atoufix16.c3
-rw-r--r--newlib/libc/machine/powerpc/atoufix32.c3
-rw-r--r--newlib/libc/machine/powerpc/atoufix64.c3
-rw-r--r--newlib/libc/machine/powerpc/simdldtoa.c6
-rw-r--r--newlib/libc/machine/powerpc/strtosfix16.c4
-rw-r--r--newlib/libc/machine/powerpc/strtosfix32.c4
-rw-r--r--newlib/libc/machine/powerpc/strtosfix64.c4
-rw-r--r--newlib/libc/machine/powerpc/strtoufix16.c4
-rw-r--r--newlib/libc/machine/powerpc/strtoufix32.c4
-rw-r--r--newlib/libc/machine/powerpc/strtoufix64.c5
-rw-r--r--newlib/libc/machine/powerpc/ufix64toa.c3
15 files changed, 53 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index b82bd80..a820f04 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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
diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c
index 819c2f0..501c0f1 100644
--- a/newlib/libc/machine/powerpc/atosfix16.c
+++ b/newlib/libc/machine/powerpc/atosfix16.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/atosfix32.c b/newlib/libc/machine/powerpc/atosfix32.c
index 5d55e45..dbcac7e 100644
--- a/newlib/libc/machine/powerpc/atosfix32.c
+++ b/newlib/libc/machine/powerpc/atosfix32.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/atosfix64.c b/newlib/libc/machine/powerpc/atosfix64.c
index b720d38..109baf7 100644
--- a/newlib/libc/machine/powerpc/atosfix64.c
+++ b/newlib/libc/machine/powerpc/atosfix64.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c
index a84c4c7..53db137 100644
--- a/newlib/libc/machine/powerpc/atoufix16.c
+++ b/newlib/libc/machine/powerpc/atoufix16.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/atoufix32.c b/newlib/libc/machine/powerpc/atoufix32.c
index f3ef1d4..ee29ac5 100644
--- a/newlib/libc/machine/powerpc/atoufix32.c
+++ b/newlib/libc/machine/powerpc/atoufix32.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/atoufix64.c b/newlib/libc/machine/powerpc/atoufix64.c
index c2a7ede..e5eefc4 100644
--- a/newlib/libc/machine/powerpc/atoufix64.c
+++ b/newlib/libc/machine/powerpc/atoufix64.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/simdldtoa.c b/newlib/libc/machine/powerpc/simdldtoa.c
index d15133a..71ff121 100644
--- a/newlib/libc/machine/powerpc/simdldtoa.c
+++ b/newlib/libc/machine/powerpc/simdldtoa.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c
index ad62997..d3cfe07 100644
--- a/newlib/libc/machine/powerpc/strtosfix16.c
+++ b/newlib/libc/machine/powerpc/strtosfix16.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtosfix32.c b/newlib/libc/machine/powerpc/strtosfix32.c
index 0f2ded6..2e22c14 100644
--- a/newlib/libc/machine/powerpc/strtosfix32.c
+++ b/newlib/libc/machine/powerpc/strtosfix32.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtosfix64.c b/newlib/libc/machine/powerpc/strtosfix64.c
index d0fa769..09999c1 100644
--- a/newlib/libc/machine/powerpc/strtosfix64.c
+++ b/newlib/libc/machine/powerpc/strtosfix64.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c
index 0c1fad3..d90255c 100644
--- a/newlib/libc/machine/powerpc/strtoufix16.c
+++ b/newlib/libc/machine/powerpc/strtoufix16.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtoufix32.c b/newlib/libc/machine/powerpc/strtoufix32.c
index 141c627..25e9d14 100644
--- a/newlib/libc/machine/powerpc/strtoufix32.c
+++ b/newlib/libc/machine/powerpc/strtoufix32.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/strtoufix64.c b/newlib/libc/machine/powerpc/strtoufix64.c
index e06f4db..47a7984 100644
--- a/newlib/libc/machine/powerpc/strtoufix64.c
+++ b/newlib/libc/machine/powerpc/strtoufix64.c
@@ -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__ */
diff --git a/newlib/libc/machine/powerpc/ufix64toa.c b/newlib/libc/machine/powerpc/ufix64toa.c
index 4d3d0a8..6f0d128 100644
--- a/newlib/libc/machine/powerpc/ufix64toa.c
+++ b/newlib/libc/machine/powerpc/ufix64toa.c
@@ -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__ */