aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2010-02-22 00:37:30 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2010-02-22 00:37:30 +0000
commite7c914db6190043871684afda68c23573b9d84a5 (patch)
tree0c3f8ba1adceb15197871edfd6e536a15ca40da5 /libgcc
parentf9b85f53f260246527d280e3de6fb6956b6b4532 (diff)
downloadgcc-e7c914db6190043871684afda68c23573b9d84a5.zip
gcc-e7c914db6190043871684afda68c23573b9d84a5.tar.gz
gcc-e7c914db6190043871684afda68c23573b9d84a5.tar.bz2
Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
* config/mmix/t-mmix: New file. * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set. From-SVN: r156946
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host2
-rw-r--r--libgcc/config/mmix/t-mmix14
3 files changed, 22 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7b992a8..90b9782 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
+
+ Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
+ * config/mmix/t-mmix: New file.
+ * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
+
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
diff --git a/libgcc/config.host b/libgcc/config.host
index 5c3bfa6..706d01a 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -432,6 +432,8 @@ mips-wrs-vxworks)
mipstx39-*-elf* | mipstx39el-*-elf*)
;;
mmix-knuth-mmixware)
+ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
;;
mn10300-*-*)
;;
diff --git a/libgcc/config/mmix/t-mmix b/libgcc/config/mmix/t-mmix
new file mode 100644
index 0000000..9d66737
--- /dev/null
+++ b/libgcc/config/mmix/t-mmix
@@ -0,0 +1,14 @@
+# 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: $(gcc_srcdir)/config/mmix/crti.asm $(GCC_PASSES)
+ $(crt_compile) $(INCLUDES) \
+ $(CRTSTUFF_T_CFLAGS) -c -x assembler-with-cpp \
+ $(gcc_srcdir)/config/mmix/crti.asm
+
+$(T)crtn.o: $(gcc_srcdir)/config/mmix/crtn.asm $(GCC_PASSES)
+ $(crt_compile) $(INCLUDES) \
+ $(CRTSTUFF_T_CFLAGS) -c -x assembler-with-cpp \
+ $(gcc_srcdir)/config/mmix/crtn.asm