summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-13 17:08:34 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-13 17:08:34 +0000
commitaa1d552e49994059978c0deac0353d7078edeb5a (patch)
tree4a909f77900fa7a6500f210b0c63590c4812ea53
parentcd7f40a2f5ead133a4c885634022f711eae2c009 (diff)
downloadgcc-aa1d552e49994059978c0deac0353d7078edeb5a.tar.gz
* config/mt/t-mt (crti.o, crtn.o): Add multilib options.
(EXTRA_MULTILIB_PARTS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108481 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mt/t-mt13
2 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69bbe6d1b08..024ba3250f6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/mt/t-mt (crti.o, crtn.o): Add multilib options.
+ (EXTRA_MULTILIB_PARTS): Define.
+
2005-12-13 J"orn Rennecke <joern.rennecke@st.com>
PR rtl-optimization/20070 / part1
diff --git a/gcc/config/mt/t-mt b/gcc/config/mt/t-mt
index 24924e45c08..46cbbbab2d8 100644
--- a/gcc/config/mt/t-mt
+++ b/gcc/config/mt/t-mt
@@ -49,11 +49,13 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c
# Assemble startup files.
-crti.o: $(srcdir)/config/mt/crti.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/mt/crti.asm
+$(T)crti.o: $(srcdir)/config/mt/crti.asm $(GCC_PASSES)
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
+ -c -o $(T)crti.o -x assembler $(srcdir)/config/mt/crti.asm
-crtn.o: $(srcdir)/config/mt/crtn.asm $(GCC_PASSES)
- $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/mt/crtn.asm
+$(T)crtn.o: $(srcdir)/config/mt/crtn.asm $(GCC_PASSES)
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
+ -c -o $(T)crtn.o -x assembler $(srcdir)/config/mt/crtn.asm
# Enable the following if multilibs are needed.
# See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
@@ -63,7 +65,8 @@ MULTILIB_OPTIONS = march=ms1-64-001/march=ms1-16-002/march=ms1-16-003/march=m
MULTILIB_DIRNAMES = ms1-64-001 ms1-16-002 ms1-16-003 ms2
# MULTILIB_MATCHES =
# MULTILIB_EXCEPTIONS =
-# MULTILIB_EXTRA_OPTS =
+# MULTILIB_EXTRA_OPTS =
+EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
#
# LIBGCC = stmp-multilib
# INSTALL_LIBGCC = install-multilib