summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authoruebayasi <uebayasi@NetBSD.org>2009-12-18 12:51:43 +0000
committeruebayasi <uebayasi@NetBSD.org>2009-12-18 12:51:43 +0000
commitff345fa63cd5bd1257acbbf296ca7b4349108614 (patch)
tree58b1a10e6fff44991f3a46002fad7bba4f1490db /gnu
parent75da64c9d4d229fb5ede65bc6668da44393eadf6 (diff)
Libgcc softfloat wrapper source code. This file is not auto-generated. Due
to the design of libgcc build procedure I had to reverse engineer this from generated files.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc4/arch/mips64eb/dp-bit.c3
-rw-r--r--gnu/lib/libgcc4/arch/mips64eb/fp-bit.c4
-rw-r--r--gnu/lib/libgcc4/arch/mips64eb/tp-bit.c6
3 files changed, 13 insertions, 0 deletions
diff --git a/gnu/lib/libgcc4/arch/mips64eb/dp-bit.c b/gnu/lib/libgcc4/arch/mips64eb/dp-bit.c
new file mode 100644
index 00000000000..052f196b780
--- /dev/null
+++ b/gnu/lib/libgcc4/arch/mips64eb/dp-bit.c
@@ -0,0 +1,3 @@
+/* $NetBSD: dp-bit.c,v 1.1 2009/12/18 12:51:43 uebayasi Exp $ */
+#define QUIET_NAN_NEGATED
+#include "gcc/config/fp-bit.c"
diff --git a/gnu/lib/libgcc4/arch/mips64eb/fp-bit.c b/gnu/lib/libgcc4/arch/mips64eb/fp-bit.c
new file mode 100644
index 00000000000..df794f6b3fc
--- /dev/null
+++ b/gnu/lib/libgcc4/arch/mips64eb/fp-bit.c
@@ -0,0 +1,4 @@
+/* $NetBSD: fp-bit.c,v 1.1 2009/12/18 12:51:43 uebayasi Exp $ */
+#define QUIET_NAN_NEGATED
+#define FLOAT
+#include "gcc/config/fp-bit.c"
diff --git a/gnu/lib/libgcc4/arch/mips64eb/tp-bit.c b/gnu/lib/libgcc4/arch/mips64eb/tp-bit.c
new file mode 100644
index 00000000000..2fbe3b66746
--- /dev/null
+++ b/gnu/lib/libgcc4/arch/mips64eb/tp-bit.c
@@ -0,0 +1,6 @@
+/* $NetBSD: tp-bit.c,v 1.1 2009/12/18 12:51:43 uebayasi Exp $ */
+#if __LDBL_MANT_DIG__ == 113
+#define QUIET_NAN_NEGATED
+#define TFLOAT
+#include "gcc/config/fp-bit.c"
+#endif