Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-04-16 19:45:29 +0400
committerJeff Johnston <jjohnstn@redhat.com>2003-04-16 19:45:29 +0400
commit57ff95d35bbcb72c45648968b4d7e3b5be1e71e5 (patch)
treed80f8632261215f9d2a9a959de9716fa553dc450 /newlib/libc/machine/powerpc
parent8425a8ce499b9e9d15ff13d44d19f4b5cafbeb67 (diff)
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/libc/machine/powerpc')
-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
14 files changed, 47 insertions, 5 deletions
diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c
index 819c2f068..501c0f1cb 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 5d55e4580..dbcac7e2f 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 b720d3824..109baf7b6 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 a84c4c7e1..53db13764 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 f3ef1d43a..ee29ac586 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 c2a7eded7..e5eefc423 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 d15133afa..71ff12143 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 ad629978c..d3cfe0781 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 0f2ded6f7..2e22c1458 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 d0fa769d9..09999c1a9 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 0c1fad30f..d90255c0e 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 141c6278f..25e9d143f 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 e06f4db6c..47a7984e4 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 4d3d0a885..6f0d12870 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__ */