aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>2002-01-17 01:22:02 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2002-01-16 17:22:02 -0800
commit5f083b7255fac27b321f1b1c3d60f723a9c49977 (patch)
tree51aa758f3dc96593a1047ffb1e953cbfa1db1ef7
parentaf3c90a633235d3bf44478bfde98c0ca4c163116 (diff)
downloadgcc-5f083b7255fac27b321f1b1c3d60f723a9c49977.zip
gcc-5f083b7255fac27b321f1b1c3d60f723a9c49977.tar.gz
gcc-5f083b7255fac27b321f1b1c3d60f723a9c49977.tar.bz2
t-linux: New.
2002-01-16 H.J. Lu <hjl@gnu.org> * config/mips/t-linux: New. * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. * config/mips/linux.h: Don't include "gofast.h". (INIT_SUBTARGET_OPTABS): Removed. From-SVN: r48936
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/mips/linux.h5
-rw-r--r--gcc/config/mips/t-linux20
4 files changed, 30 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 79b1d90..3bb24ab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2002-01-16 H.J. Lu <hjl@gnu.org>
+
+ * config/mips/t-linux: New.
+
+ * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
+
+ * config/mips/linux.h: Don't include "gofast.h".
+ (INIT_SUBTARGET_OPTABS): Removed.
+
2002-01-16 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300-protos.h: Replace emit_a_shift with
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7b0ecb7..ca174fe 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2250,7 +2250,7 @@ mips*-*-linux*) # Linux MIPS, either endian.
tm_file="mips/little.h $tm_file"
;;
esac
- tmake_file="t-slibgcc-elf-ver t-linux"
+ tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
gas=yes
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 2dad6a0..46a9328 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -18,11 +18,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "gofast.h"
-
-/* US Software GOFAST library support. */
-#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS
-
#include "mips/mips.h"
#undef WCHAR_TYPE
diff --git a/gcc/config/mips/t-linux b/gcc/config/mips/t-linux
new file mode 100644
index 0000000..75db636
--- /dev/null
+++ b/gcc/config/mips/t-linux
@@ -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