summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/powerpc/atoufix64.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-08-17 05:57:20 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-08-17 05:57:20 +0000
commit936b520f8eac458e26623632280b0f34cb8abc17 (patch)
treef4d9c0b7b2bafdca16e643eb2060d48abb5e5315 /newlib/libc/machine/powerpc/atoufix64.c
parentad5527663ef5d01f531b4d4b23390c7566c93ee2 (diff)
downloadcygnal-936b520f8eac458e26623632280b0f34cb8abc17.tar.gz
cygnal-936b520f8eac458e26623632280b0f34cb8abc17.tar.bz2
cygnal-936b520f8eac458e26623632280b0f34cb8abc17.zip
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add powerpc*-*-eabispe* configuration. * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file. * libc/machine/powerpc/atosfix32.c: Ditto. * libc/machine/powerpc/atosfix64.c: Ditto. * libc/machine/powerpc/atoufix16.c: Ditto. * libc/machine/powerpc/atoufix32.c: Ditto. * libc/machine/powerpc/atoufix64.c: Ditto. * libc/machine/powerpc/fix64.h: Ditto. * libc/machine/powerpc/simdldtoa.c: Ditto. * libc/machine/powerpc/strtosfix16.c: Ditto. * libc/machine/powerpc/strtosfix32.c: Ditto. * libc/machine/powerpc/strtosfix64.c: Ditto. * libc/machine/powerpc/strtoufix16.c: Ditto. * libc/machine/powerpc/strtoufix32.c: Ditto. * libc/machine/powerpc/strtoufix64.c: Ditto. * libc/machine/powerpc/ufix64toa.c: Ditto. * libc/machine/powerpc/configure.in: Add check for powerpc*-eabispe and add fixed-point conversion functions. * libc/machine/powerpc/configure: Regenerated. * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for %r and %R format specifiers which handle fixed-point data. * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto. * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point function prototypes.
Diffstat (limited to 'newlib/libc/machine/powerpc/atoufix64.c')
-rw-r--r--newlib/libc/machine/powerpc/atoufix64.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/newlib/libc/machine/powerpc/atoufix64.c b/newlib/libc/machine/powerpc/atoufix64.c
new file mode 100644
index 000000000..c2a7eded7
--- /dev/null
+++ b/newlib/libc/machine/powerpc/atoufix64.c
@@ -0,0 +1,25 @@
+/*
+ * Jeff Johnston - 02/13/2002
+ */
+
+#include <stdlib.h>
+#include <_ansi.h>
+
+__uint64_t
+_DEFUN (_atoufix64_r, (reent, s),
+ struct _reent *reent _AND
+ _CONST char *s)
+{
+ return _strtoufix64_r (reent, s, NULL);
+}
+
+#ifndef _REENT_ONLY
+__uint64_t
+_DEFUN (atoufix64, (s),
+ _CONST char *s)
+{
+ return strtoufix64 (s, NULL);
+}
+
+#endif /* !_REENT_ONLY */
+