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
This commit is contained in:
Hans-Peter Nilsson 2010-02-22 00:37:30 +00:00 committed by Hans-Peter Nilsson
parent f9b85f53f2
commit e7c914db61
3 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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-*-*)
;;

14
libgcc/config/mmix/t-mmix Normal file
View File

@ -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