]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/config/h8300/t-h8300
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / config / h8300 / t-h8300
index de59acb6367d8445b582f2ab055cdee5953a7455..1311d968711d92bbcf08eeb06687e9fafa23cf72 100644 (file)
@@ -1,14 +1,16 @@
-# The three first floating point functions listed in LIB1ASMFUNCS (_fixsfdi,
-# _floatdisf, and _fixunssfdi) are used to disable the inclusion of those
-# from libgcc2.c.  They do not actually exist in lib1funcs.asm.
 LIB1ASMSRC = h8300/lib1funcs.asm
 LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 \
-  _floatdisf _fixsfdi _fixunssfdi _fixunssfsi_asm
+  _fixunssfsi_asm
 
-LIB2FUNCS_EXTRA = $(srcdir)/config/h8300/fixunssfsi.c
+LIB2FUNCS_EXTRA = \
+       $(srcdir)/config/h8300/clzhi2.c \
+       $(srcdir)/config/h8300/ctzhi2.c \
+       $(srcdir)/config/h8300/parityhi2.c \
+       $(srcdir)/config/h8300/popcounthi2.c \
+       $(srcdir)/config/h8300/fixunssfsi.c
 
-# We do not have DF or DI types, so fake out the libgcc2 compilation.
-TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI
+# We do not have DF type, so fake out the libgcc2 compilation.
+TARGET_LIBGCC2_CFLAGS = -DDF=SF
 
 # We want fine grained libraries, so use the new code to build the
 # floating point emulation libraries.
@@ -25,10 +27,17 @@ fp-bit.c: $(srcdir)/config/fp-bit.c
        echo '#endif' >> fp-bit.c
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
 
-MULTILIB_OPTIONS = mh/ms mint32
-MULTILIB_DIRNAMES = h8300h h8300s int32
-MULTILIB_EXCEPTIONS = mint32
+MULTILIB_OPTIONS = mh/ms/msx mn mint32
+MULTILIB_DIRNAMES = h8300h h8300s h8sx normal int32
+MULTILIB_EXCEPTIONS = mint32 mn mn/mint32
 
 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