diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91cd1a28b30..06a4a57dc51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +1999-12-28 Manfred Hollstein + + * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a. + (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define. + (fpgnulib.c, xfgnulib.c): Add rules. + * m68k/t-mot3300-gas: Likewise. + 1999-12-27 Ian Lance Taylor * configure.in: Avoid [[ by using test and changequote. Add diff --git a/gcc/config/m68k/t-mot3300-gald b/gcc/config/m68k/t-mot3300-gald index 435afc49e65..b9ab6b8cfce 100644 --- a/gcc/config/m68k/t-mot3300-gald +++ b/gcc/config/m68k/t-mot3300-gald @@ -1,6 +1,23 @@ T_CPPFLAGS = -DUSE_GAS -DUSE_GLD TARGET_LIBGCC2_CFLAGS = -DUSE_GAS +CROSS_LIBGCC1 = libgcc1-asm.a +LIB1ASMSRC = m68k/lb1sf68.asm +LIB1ASMFUNCS = _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 \ + _double _float _floatex \ + _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 \ + _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2 + +# These are really part of libgcc1, but this will cause them to be +# built correctly, so... +LIB2FUNCS_EXTRA = fpgnulib.c xfgnulib.c + +fpgnulib.c: $(srcdir)/config/m68k/fpgnulib.c + cp $(srcdir)/config/m68k/fpgnulib.c fpgnulib.c +xfgnulib.c: $(srcdir)/config/m68k/fpgnulib.c + echo '#define EXTFLOAT' > xfgnulib.c + cat $(srcdir)/config/m68k/fpgnulib.c >> xfgnulib.c + MULTILIB_OPTIONS=m68000/m68020 msoft-float MULTILIB_DIRNAMES= MULTILIB_MATCHES=m68000=mc68000 m68000=m68302 m68000=m68332 m68020=mc68020 m68020=m68040 diff --git a/gcc/config/m68k/t-mot3300-gas b/gcc/config/m68k/t-mot3300-gas index 525667452e2..7fea4f998df 100644 --- a/gcc/config/m68k/t-mot3300-gas +++ b/gcc/config/m68k/t-mot3300-gas @@ -1,6 +1,23 @@ T_CPPFLAGS = -DUSE_GAS TARGET_LIBGCC2_CFLAGS = -DUSE_GAS +CROSS_LIBGCC1 = libgcc1-asm.a +LIB1ASMSRC = m68k/lb1sf68.asm +LIB1ASMFUNCS = _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 \ + _double _float _floatex \ + _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 \ + _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2 + +# These are really part of libgcc1, but this will cause them to be +# built correctly, so... +LIB2FUNCS_EXTRA = fpgnulib.c xfgnulib.c + +fpgnulib.c: $(srcdir)/config/m68k/fpgnulib.c + cp $(srcdir)/config/m68k/fpgnulib.c fpgnulib.c +xfgnulib.c: $(srcdir)/config/m68k/fpgnulib.c + echo '#define EXTFLOAT' > xfgnulib.c + cat $(srcdir)/config/m68k/fpgnulib.c >> xfgnulib.c + MULTILIB_OPTIONS=m68000/m68020 msoft-float MULTILIB_DIRNAMES= MULTILIB_MATCHES=m68000=mc68000 m68000=m68302 m68000=m68332 m68020=mc68020 m68020=m68040