aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/alpha
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2003-03-12 20:30:00 +0000
committerDavid Schultz <das@FreeBSD.org>2003-03-12 20:30:00 +0000
commit6a66acb565dde6d5b0ee52eef2a631fbb09df153 (patch)
tree2227a906466b311329420d1e05832b3c4e9aef98 /lib/libc/alpha
parent582a954b004963a562668386a33f960a9c763d37 (diff)
Notes
Diffstat (limited to 'lib/libc/alpha')
-rw-r--r--lib/libc/alpha/arith.h13
-rw-r--r--lib/libc/alpha/stdlib/gdtoa.mk4
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/alpha/arith.h b/lib/libc/alpha/arith.h
new file mode 100644
index 000000000000..de6c33dd9f3f
--- /dev/null
+++ b/lib/libc/alpha/arith.h
@@ -0,0 +1,13 @@
+/*
+ * MD header for contrib/netlib/gdtoa
+ *
+ * $FreeBSD$
+ */
+
+#define IEEE_8087
+#define Arith_Kind_ASL 1
+#define Long int
+#define Intcast (int)(long)
+#define Double_Align
+#define X64_bit_pointers
+#define Sudden_Underflow
diff --git a/lib/libc/alpha/stdlib/gdtoa.mk b/lib/libc/alpha/stdlib/gdtoa.mk
new file mode 100644
index 000000000000..c631f6440422
--- /dev/null
+++ b/lib/libc/alpha/stdlib/gdtoa.mk
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+# On Alpha, long double is just double precision.
+MDSRCS+=machdep_ldisd.c