1 CONFIG2_H = $(srcdir)/config/mips/elf.h $(srcdir)/config/mips/mips.h
3 # Don't let CTOR_LIST end up in sdata section.
4 CRTSTUFF_T_CFLAGS = -G 0
6 # Assemble startup files.
7 $(T)crti.o: $(srcdir)/config/mips/crti.asm $(GCC_PASSES)
8 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
9 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mips/crti.asm
11 $(T)crtn.o: $(srcdir)/config/mips/crtn.asm $(GCC_PASSES)
12 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
13 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mips/crtn.asm
15 LIB1ASMSRC = mips/mips16.S
16 LIB1ASMFUNCS = _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 \
17 _m16eqsf2 _m16nesf2 _m16gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 \
18 _m16fltsisf _m16fixsfsi \
19 _m16adddf3 _m16subdf3 _m16muldf3 _m16divdf3 \
20 _m16extsfdf2 _m16trdfsf2 \
21 _m16eqdf2 _m16nedf2 _m16gtdf2 _m16gedf2 _m16ledf2 _m16ltdf2 \
22 _m16fltsidf _m16fixdfsi \
24 _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 \
25 _m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 \
26 _m16stubsf9 _m16stubsf10 \
27 _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6 \
28 _m16stubdf9 _m16stubdf10
30 # We must build libgcc2.a with -G 0, in case the user wants to link
31 # without the $gp register.
32 TARGET_LIBGCC2_CFLAGS = -G 0
34 # Build the libraries for both hard and soft floating point
36 MULTILIB_OPTIONS = msoft-float EL/EB mips32/mips64
37 MULTILIB_DIRNAMES = soft-float el eb mips32 mips64
38 MULTILIB_MATCHES = EL=mel EB=meb
39 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
41 LIBGCC = stmp-multilib
42 INSTALL_LIBGCC = install-multilib
44 # Add additional dependencies to recompile selected modules whenever the
45 # tm.h file changes. The files compiled are:
47 # gcc.c (*_SPEC changes)
48 # toplev.c (new switches + assembly output changes)
49 # sdbout.c (debug format changes)
50 # dbxout.c (debug format changes)
51 # dwarfout.c (debug format changes)
52 # final.c (assembly output changes)
53 # varasm.c (assembly output changes)
54 # cse.c (cost functions)
55 # insn-output.c (possible ifdef changes in tm.h)
56 # regclass.c (fixed/call used register changes)
57 # cccp.c (new preprocessor macros, -v version #)
58 # explow.c (GO_IF_LEGITIMATE_ADDRESS)
59 # recog.c (GO_IF_LEGITIMATE_ADDRESS)
60 # reload.c (GO_IF_LEGITIMATE_ADDRESS)
63 toplev.o: $(CONFIG2_H)
64 sdbout.o: $(CONFIG2_H)
65 dbxout.o: $(CONFIG2_H)
66 dwarfout.o: $(CONFIG2_H)
68 varasm.o: $(CONFIG2_H)
70 insn-output.o: $(CONFIG2_H)
71 regclass.o: $(CONFIG2_H)
73 explow.o: $(CONFIG2_H)
75 reload.o: $(CONFIG2_H)