aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2010-02-22 00:38:30 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2010-02-22 00:38:30 +0000
commit45df0e43c2a865eecfef75bc0163f1745d89057f (patch)
treed8141d85cfe48c07048fa81de3d6b0fa39df6cea /gcc
parente7c914db6190043871684afda68c23573b9d84a5 (diff)
downloadgcc-45df0e43c2a865eecfef75bc0163f1745d89057f.zip
gcc-45df0e43c2a865eecfef75bc0163f1745d89057f.tar.gz
gcc-45df0e43c2a865eecfef75bc0163f1745d89057f.tar.bz2
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. From-SVN: r156947
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mmix/t-mmix19
2 files changed, 7 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4334c21..1b19a17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mmix/t-mmix b/gcc/config/mmix/t-mmix
index a000430..f0c60f5 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