summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-ecoff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-29 13:40:28 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-29 13:40:28 +0000
commitfd47501dd0943d7faf094a7caa333a8092bd9232 (patch)
tree1e0da2ec221b0250417f4c187a7d8356b273a4ba /gcc/config/mips/t-ecoff
parent5785f96fff5c2c48207f2211a4e0901fa2fad5a2 (diff)
downloadgcc-fd47501dd0943d7faf094a7caa333a8092bd9232.tar.gz
* mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS): Define. More mips16 merge stuff. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/t-ecoff')
-rw-r--r--gcc/config/mips/t-ecoff23
1 files changed, 20 insertions, 3 deletions
diff --git a/gcc/config/mips/t-ecoff b/gcc/config/mips/t-ecoff
index 067a0558c8a..8de03ffd758 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