1 # See "Target Fragment" in GCC info. That same order is used here.
4 # libgcc1-test doesn't work. There's critical stuff in crti and crtn and
5 # we know the result of running libgcc1-test anyway.
9 TARGET_LIBGCC2_CFLAGS = -mlibfuncs -O2
11 EXTRA_MULTILIB_PARTS = crti.o crtn.o crtbegin.o crtend.o
13 MULTILIB_OPTIONS = mabi=gnu
14 MULTILIB_DIRNAMES = gnuabi
16 # Don't use global registers in libraries.
17 # FIXME: Not applied at "root" level, so disabled at the moment to stop
18 # incorrect comparisons with -mabi=gnu.
19 #MULTILIB_EXTRA_OPTS = mno-base-addresses
21 $(T)crti.o: $(srcdir)/config/mmix/crti.asm $(GCC_PASSES)
22 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
23 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mmix/crti.asm
25 $(T)crtn.o: $(srcdir)/config/mmix/crtn.asm $(GCC_PASSES)
26 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
27 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mmix/crtn.asm