aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@cygnus.com>1997-12-29 13:40:28 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-29 06:40:28 -0700
commit975602f82cff53b6b0829f5e131117ca1f56812d (patch)
tree1e0da2ec221b0250417f4c187a7d8356b273a4ba
parent2d48c13dc2d0912138ff2648ce9c1081d1653b73 (diff)
downloadgcc-975602f82cff53b6b0829f5e131117ca1f56812d.zip
gcc-975602f82cff53b6b0829f5e131117ca1f56812d.tar.gz
gcc-975602f82cff53b6b0829f5e131117ca1f56812d.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/t-ecoff23
2 files changed, 25 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index de2ac0c..c619c03 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/t-ecoff b/gcc/config/mips/t-ecoff
index 067a055..8de03ffd 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