From: hp Date: Mon, 22 Feb 2010 00:38:30 +0000 (+0000) Subject: Migrate crti, crtn, crtbegin, crtend build rules to libgcc. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f0ef684a2914a09137a994bcc22f77ed5b58d6c;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156947 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4334c21380bf..1b19a1727be4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-02-22 Hans-Peter Nilsson + + 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 PR fortran/35259 diff --git a/gcc/config/mmix/t-mmix b/gcc/config/mmix/t-mmix index a000430d8fcd..f0c60f559f86 100644 --- a/gcc/config/mmix/t-mmix +++ b/gcc/config/mmix/t-mmix @@ -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