summaryrefslogtreecommitdiffstats
path: root/libgcc/config
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-22 00:37:30 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-22 00:37:30 +0000
commit8525326ebe2e68e37ec6042493e1869b1131d300 (patch)
tree0c3f8ba1adceb15197871edfd6e536a15ca40da5 /libgcc/config
parente2675c1c71dc387908f953a999b102cf85b6c29f (diff)
downloadppe42-gcc-8525326ebe2e68e37ec6042493e1869b1131d300.tar.gz
ppe42-gcc-8525326ebe2e68e37ec6042493e1869b1131d300.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/mmix/t-mmix14
1 files changed, 14 insertions, 0 deletions
diff --git a/libgcc/config/mmix/t-mmix b/libgcc/config/mmix/t-mmix
new file mode 100644
index 00000000000..9d66737e256
--- /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
OpenPOWER on IntegriCloud