Home | History | Annotate | Line # | Download | only in mmix
      1  1.3  mrg HOST_LIBGCC2_CFLAGS += -mlibfuncs -O2
      2  1.3  mrg 
      3  1.3  mrg # We need to turn off some assumptions on normality for code in crtstuff.c
      4  1.3  mrg # and crt{i,n}.S, specifically about execution not continuing past the
      5  1.3  mrg # end of the section in the file being compiled.  Thus we must stop the
      6  1.3  mrg # assembler from generating stubbable PUSHJ relocs, because that will add
      7  1.3  mrg # stubs at the end of the current section when necessary.
      8  1.3  mrg CRTSTUFF_T_CFLAGS = -Wa,--no-stubs
      9  1.3  mrg 
     10  1.1  mrg # Don't use global registers in libraries.
     11  1.1  mrg # FIXME: Not applied at "root" level, so disabled at the moment to stop
     12  1.1  mrg # incorrect comparisons with -mabi=gnu.
     13  1.1  mrg #MULTILIB_EXTRA_OPTS = mno-base-addresses
     14  1.1  mrg 
     15  1.3  mrg # Cannot use default rules due to $(CRTSTUFF_T_CFLAGS).
     16  1.3  mrg CUSTOM_CRTIN = yes
     17  1.3  mrg 
     18  1.3  mrg crti.o: $(srcdir)/config/mmix/crti.S
     19  1.3  mrg 	$(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<
     20  1.1  mrg 
     21  1.3  mrg crtn.o: $(srcdir)/config/mmix/crtn.S
     22  1.3  mrg 	$(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<
     23