From 975602f82cff53b6b0829f5e131117ca1f56812d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 29 Dec 1997 13:40:28 +0000 Subject: [PATCH] t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a. * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a. (LIB1ASMSRC, LIB1ASMFUNCS): Define. More mips16 merge stuff. From-SVN: r17261 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/t-ecoff | 23 ++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de2ac0cf6e06..c619c03b371f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 29 14:37:31 1997 Ian Lance Taylor + + * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a. + (LIB1ASMSRC, LIB1ASMFUNCS): Define. + Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com) * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the diff --git a/gcc/config/mips/t-ecoff b/gcc/config/mips/t-ecoff index 067a0558c8ad..8de03ffd758a 100644 --- a/gcc/config/mips/t-ecoff +++ b/gcc/config/mips/t-ecoff @@ -7,14 +7,31 @@ CONFIG2_H = $(srcdir)/config/mips/ecoff.h # Suppress building libgcc1.a, since the MIPS compiler port is complete # and does not need anything from libgcc1.a. LIBGCC1 = -CROSS_LIBGCC1 = + +# When building a cross compiler, put the mips16 support functions in +# libgcc1.a. +CROSS_LIBGCC1 = libgcc1-asm.a +LIB1ASMSRC = mips/mips16.S +LIB1ASMFUNCS = _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 \ + _m16eqsf2 _m16nesf2 _m16gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 \ + _m16fltsisf _m16fixsfsi \ + _m16adddf3 _m16subdf3 _m16muldf3 _m16divdf3 \ + _m16extsfdf2 _m16trdfsf2 \ + _m16eqdf2 _m16nedf2 _m16gtdf2 _m16gedf2 _m16ledf2 _m16ltdf2 \ + _m16fltsidf _m16fixdfsi \ + _m16retsf _m16retdf \ + _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 \ + _m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 \ + _m16stubsf9 _m16stubsf10 \ + _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6 \ + _m16stubdf9 _m16stubdf10 # We must build libgcc2.a with -G 0, in case the user wants to link # without the $gp register. TARGET_LIBGCC2_CFLAGS = -G 0 -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... [taken from t-sparclite] +# fp-bit and dp-bit are really part of libgcc1, but this will cause +# them to be built correctly, so... [taken from t-sparclite] LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c -- 2.43.5