OSDN Git Service

* mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Dec 1997 13:40:28 +0000 (13:40 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Dec 1997 13:40:28 +0000 (13:40 +0000)
        (LIB1ASMSRC, LIB1ASMFUNCS): Define.
More mips16 merge stuff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17261 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/t-ecoff

index de2ac0c..c619c03 100644 (file)
@@ -1,3 +1,8 @@
+Mon Dec 29 14:37:31 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * 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
index 067a055..8de03ff 100644 (file)
@@ -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