]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/h8300/t-h8300
Update copyright years.
[thirdparty/gcc.git] / gcc / config / h8300 / t-h8300
index f072d99090faa4ac40ee9c0bcb119ffa8d52f19f..a8126c98708a09da1fb802fc3ca7194d922c219c 100644 (file)
@@ -1,26 +1,28 @@
-CROSS_LIBGCC1 = libgcc1-asm.a
-LIB1ASMSRC = h8300/lib1funcs.asm
-LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3
+# Copyright (C) 1993-2024 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
 
-# We do not have DF or DI types, so fake out the libgcc2 compilation.
-LIBGCC2_CFLAGS = -g -O2 -DDF=SF -DDI=SI $(GCC_CFLAGS) $(LIBGCC2_INCLUDES)
+MULTILIB_OPTIONS = ms/msx mn mint32
+MULTILIB_DIRNAMES = h8300s h8sx normal int32
 
-LIB2FUNCS_EXTRA = fp-bit.c
-
-fp-bit.c: $(srcdir)/config/fp-bit.c
-       echo '#define FLOAT' > fp-bit.c
-       echo '#define FLOAT_ONLY' >> fp-bit.c
-       echo '#define SMALL_MACHINE' >> fp-bit.c
-       echo '#ifdef __H8300__' >> fp-bit.c
-       echo '#define CMPtype HItype' >> fp-bit.c
-       echo '#else' >> fp-bit.c
-       echo '#define CMPtype SItype' >> fp-bit.c
-       echo '#endif' >> fp-bit.c
-       cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
-MULTILIB_OPTIONS = mh
-MULTILIB_DIRNAMES = h8300h
-
-LIBGCC = stmp-multilib
-INSTALL_LIBGCC = install-multilib
+s-config s-conditions s-flags s-codes s-constants s-emit s-recog \
+s-opinit s-extract s-peep s-attr s-attrtab s-output: \
+       $(srcdir)/config/h8300/mova.md
 
+$(srcdir)/config/h8300/mova.md: $(srcdir)/config/h8300/genmova.sh
+       $(SHELL) $(srcdir)/config/h8300/genmova.sh \
+         > $(srcdir)/config/h8300/mova.md