OSDN Git Service

Migrate crti, crtn, crtbegin, crtend build rules to libgcc.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 00:38:30 +0000 (00:38 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 00:38:30 +0000 (00:38 +0000)
* config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set.
($(T)crti.o, $(T)crtn.o): Remove rules.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156947 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mmix/t-mmix

index 4334c21..1b19a17 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       Migrate crti, crtn, crtbegin, crtend build rules to libgcc.
+       * config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set.
+       ($(T)crti.o, $(T)crtn.o): Remove rules.
+
 2010-02-21  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/35259
index a000430..f0c60f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -20,8 +20,6 @@
 
 TARGET_LIBGCC2_CFLAGS = -mlibfuncs -O2
 
-EXTRA_MULTILIB_PARTS = crti.o crtn.o crtbegin.o crtend.o
-
 # We need to turn off some assumptions on normality for code in crtstuff.c
 # and crt{i,n}.asm, specifically about execution not continuing past the
 # end of the section in the file being compiled.  Thus we must stop the
@@ -31,18 +29,3 @@ CRTSTUFF_T_CFLAGS = -Wa,--no-stubs
 
 MULTILIB_OPTIONS = mabi=gnu
 MULTILIB_DIRNAMES = gnuabi
-
-# Don't use global registers in libraries.
-# FIXME: Not applied at "root" level, so disabled at the moment to stop
-# incorrect comparisons with -mabi=gnu.
-#MULTILIB_EXTRA_OPTS = mno-base-addresses
-
-$(T)crti.o: $(srcdir)/config/mmix/crti.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
-       $(CRTSTUFF_T_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp \
-       $(srcdir)/config/mmix/crti.asm
-
-$(T)crtn.o: $(srcdir)/config/mmix/crtn.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
-       $(CRTSTUFF_T_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp \
-       $(srcdir)/config/mmix/crtn.asm