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