re PR bootstrap/9293 ([m68k-elf/rtems] config/m68k/t-crtstuff bug)
authorJoel Sherrill <joel@OARcorp.com>
Wed, 29 Jan 2003 14:57:36 +0000 (14:57 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Wed, 29 Jan 2003 14:57:36 +0000 (14:57 +0000)
2003-01-29 Joel Sherrill <joel@OARcorp.com>

* config/m68k/t-crtstuff: Replace spaces with tabs, add
 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
This issue was tracked as PR9293.

From-SVN: r62080

gcc/ChangeLog
gcc/config/m68k/t-crtstuff

index 63274def8aa497159444ec882f5b835c0cc9fd0d..ecc0b682aef09526e1f26649181bb36b20f83ade 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-29     Joel Sherrill <joel@OARcorp.com>
+
+       * config/m68k/t-crtstuff: Replace spaces with tabs, add 
+        $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
+       This issue was tracked as PR9293.
+
 2003-01-29     Joel Sherrill <joel@OARcorp.com>
 
        * config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
index b05764de726e149510d1f14c84fc7078eedea4a4..a8bdb502d6672d40253bd27a55bf769cfde3e537 100644 (file)
@@ -1,8 +1,10 @@
+EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crti.o crtn.o
+
 # Add flags here as required.
 CRTSTUFF_T_CFLAGS =
 
 # Assemble startup files.
 $(T)crti.o: $(srcdir)/config/m68k/crti.s $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -c -o $(T)crti.o $(srcdir)/config/m68k/crti.s
+       $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o $(srcdir)/config/m68k/crti.s
 $(T)crtn.o: $(srcdir)/config/m68k/crtn.s $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -c -o $(T)crtn.o $(srcdir)/config/m68k/crtn.s
+       $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o $(srcdir)/config/m68k/crtn.s