+2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
+ * config/mips/t-netbsd: New file.
+
2002-06-07 Zack Weinberg <zack@codesourcery.com>
* cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
tm_file="mips/little.h $tm_file"
;;
esac
+ tmake_file="${tmake_file} mips/t-netbsd"
;;
mips*-*-linux*) # Linux MIPS, either endian.
tm_file="dbxelf.h elfos.h svr4.h linux.h mips/linux.h"
--- /dev/null
+# 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