aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-12-13 17:08:34 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-12-13 17:08:34 +0000
commitc3d7c86daf797aa476dfa38efe11075ae01a2ae9 (patch)
tree4a909f77900fa7a6500f210b0c63590c4812ea53 /gcc
parent7d22e8989c52bd3b6ddbf85761204c7a759cf8c6 (diff)
downloadgcc-c3d7c86daf797aa476dfa38efe11075ae01a2ae9.zip
gcc-c3d7c86daf797aa476dfa38efe11075ae01a2ae9.tar.gz
gcc-c3d7c86daf797aa476dfa38efe11075ae01a2ae9.tar.bz2
t-mt (crti.o, crtn.o): Add multilib options.
* config/mt/t-mt (crti.o, crtn.o): Add multilib options. (EXTRA_MULTILIB_PARTS): Define. From-SVN: r108481
Diffstat (limited to 'gcc')
-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 69bbe6d..024ba32 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 24924e4..46cbbba 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