summaryrefslogtreecommitdiff
path: root/gcc/config/iq2000/t-iq2000
diff options
context:
space:
mode:
authorscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-08 11:30:25 +0000
committerscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-08 11:30:25 +0000
commit54f12d768a3ca00b22dfded95225b713b9b9a86a (patch)
tree7efbd7dd1513de51a841ff21faa6fd8a37df8522 /gcc/config/iq2000/t-iq2000
parent20eb1a6aae4f2a30fec3206bb2910f01025072a0 (diff)
downloadgcc-54f12d768a3ca00b22dfded95225b713b9b9a86a.tar.gz
* config/iq2000: New port.
* config.gcc (iq2000-*-elf): Added. * doc/install.texi (Specific): Add iq2000 description. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70245 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/iq2000/t-iq2000')
-rw-r--r--gcc/config/iq2000/t-iq200036
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/iq2000/t-iq2000 b/gcc/config/iq2000/t-iq2000
new file mode 100644
index 00000000000..23dc9558e3e
--- /dev/null
+++ b/gcc/config/iq2000/t-iq2000
@@ -0,0 +1,36 @@
+# Suppress building libgcc1.a, since the MIPS compiler port is complete
+# and does not need anything from libgcc1.a.
+LIBGCC1 =
+CROSS_LIBGCC1 =
+
+# We must build libgcc2.a with -G 0, in case the user wants to link
+# without the $gp register.
+TARGET_LIBGCC2_CFLAGS = -G 0
+
+LIB2FUNCS_EXTRA = $(srcdir)/config/udivmod.c $(srcdir)/config/divmod.c $(srcdir)/config/udivmodsi4.c $(srcdir)/config/iq2000/lib2extra-funcs.c
+
+# 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
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+# Enable the following if multilibs are needed.
+# See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
+# description of the options and their values.
+#
+# MULTILIB_OPTIONS =
+# MULTILIB_DIRNAMES =
+# MULTILIB_MATCHES =
+# MULTILIB_EXCEPTIONS =
+# MULTILIB_EXTRA_OPTS =
+#
+# LIBGCC = stmp-multilib
+# INSTALL_LIBGCC = install-multilib
+