summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc64/arith.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-07-10 14:45:03 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-07-10 14:45:03 +0000
commita1ab13ffb6886a17aa1e1be328219d1d34b9d68a (patch)
tree838c4a97263bbcdc2d8e8728ecd744e5a9c73c03 /lib/libc/powerpc64/arith.h
parent8c6113bcffdd4be4e178fd6d72c3b9c4fb7d6639 (diff)
downloadFreeBSD-src-a1ab13ffb6886a17aa1e1be328219d1d34b9d68a.zip
FreeBSD-src-a1ab13ffb6886a17aa1e1be328219d1d34b9d68a.tar.gz
Provide 64-bit PowerPC support in libc.
Obtained from: projects/ppc64
Diffstat (limited to 'lib/libc/powerpc64/arith.h')
-rw-r--r--lib/libc/powerpc64/arith.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/powerpc64/arith.h b/lib/libc/powerpc64/arith.h
new file mode 100644
index 0000000..8e2c9ec
--- /dev/null
+++ b/lib/libc/powerpc64/arith.h
@@ -0,0 +1,16 @@
+/*
+ * MD header for contrib/gdtoa
+ *
+ * $FreeBSD$
+ */
+
+/*
+ * NOTE: The definitions in this file must be correct or strtod(3) and
+ * floating point formats in printf(3) will break! The file can be
+ * generated by running contrib/gdtoa/arithchk.c on the target
+ * architecture. See contrib/gdtoa/gdtoaimp.h for details.
+ */
+
+#define IEEE_MC68k
+#define Arith_Kind_ASL 2
+#define Double_Align
OpenPOWER on IntegriCloud