aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fr30/t-fr30
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-09-21 15:21:17 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-09-21 15:21:17 +0000
commit309dd885ff9f569aec12cb5e3281a3b4dd73a8e0 (patch)
tree06b0a14fcfffb5dbddc89ff6a4883172d092edbe /gcc/config/fr30/t-fr30
parent09b5f8bf2f04be2c45f2d1529b0f5b3879f4c0e5 (diff)
downloadgcc-309dd885ff9f569aec12cb5e3281a3b4dd73a8e0.zip
gcc-309dd885ff9f569aec12cb5e3281a3b4dd73a8e0.tar.gz
gcc-309dd885ff9f569aec12cb5e3281a3b4dd73a8e0.tar.bz2
Add FR30 port.
From-SVN: r29549
Diffstat (limited to 'gcc/config/fr30/t-fr30')
-rw-r--r--gcc/config/fr30/t-fr3047
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc/config/fr30/t-fr30 b/gcc/config/fr30/t-fr30
new file mode 100644
index 0000000..46387d8
--- /dev/null
+++ b/gcc/config/fr30/t-fr30
@@ -0,0 +1,47 @@
+
+# Name of assembly file containing libgcc1 functions.
+# This entry must be present, but it can be empty if the target does
+# not need any assembler functions to support its code generation.
+# CROSS_LIBGCC1 =
+#
+# Alternatively if assembler functions *are* needed then define the
+# entries below:
+CROSS_LIBGCC1 = libgcc1-asm.a
+LIB1ASMSRC = fr30/lib1funcs.asm
+LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3
+
+# Assemble startup files.
+crti.o: $(srcdir)/config/fr30/crti.asm $(GCC_PASSES)
+ $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/fr30/crti.asm
+
+crtn.o: $(srcdir)/config/fr30/crtn.asm $(GCC_PASSES)
+ $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/fr30/crtn.asm
+
+# These are really part of libgcc1, but this will cause them to be
+# built correctly, so...
+
+LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
+
+# If any special flags are necessary when building libgcc2 put them here.
+#
+# TARGET_LIBGCC2_CFLAGS
+
+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