]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/config/mmix/t-mmix
Move crtstuff support to toplevel libgcc
[thirdparty/gcc.git] / libgcc / config / mmix / t-mmix
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
7
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
12
13 # Cannot use default rules due to $(CRTSTUFF_T_CFLAGS).
14 CUSTOM_CRTIN = yes
15
16 crti.o: $(srcdir)/config/mmix/crti.S
17 $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<
18
19 crtn.o: $(srcdir)/config/mmix/crtn.S
20 $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<