]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Fri, 7 Jun 2002 23:35:32 +0000 (23:35 +0000)
committerNo Author <no-author@gcc.gnu.org>
Fri, 7 Jun 2002 23:35:32 +0000 (23:35 +0000)
'gcc-3_1-branch'.

From-SVN: r54354

gcc/config/mips/t-netbsd [new file with mode: 0644]

diff --git a/gcc/config/mips/t-netbsd b/gcc/config/mips/t-netbsd
new file mode 100644 (file)
index 0000000..75db636
--- /dev/null
@@ -0,0 +1,20 @@
+# We want fine grained libraries, so use the new code to build the
+# floating point emulation libraries.
+FPBIT = fp-bit.c
+DPBIT = dp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+       echo '#ifdef __MIPSEL__' > dp-bit.c
+       echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
+       echo '#endif' >> dp-bit.c
+       echo '#undef US_SOFTWARE_GOFAST' >> dp-bit.c
+       echo '#undef FLOAT' >> dp-bit.c
+       cat $(srcdir)/config/fp-bit.c >> dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+       echo '#ifdef __MIPSEL__' > fp-bit.c
+       echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
+       echo '#endif' >> fp-bit.c
+       echo '#undef US_SOFTWARE_GOFAST' >> fp-bit.c
+       echo '#define FLOAT' >> fp-bit.c
+       cat $(srcdir)/config/fp-bit.c >> fp-bit.c