1 # Don't let CTOR_LIST end up in sdata section.
2 CRTSTUFF_T_CFLAGS = -G 0
4 # Assemble startup files.
5 $(T)crti.o: $(srcdir)/config/mips/crti.asm $(GCC_PASSES)
6 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
7 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mips/crti.asm
9 $(T)crtn.o: $(srcdir)/config/mips/crtn.asm $(GCC_PASSES)
10 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
11 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mips/crtn.asm
13 LIB1ASMSRC = mips/mips16.S
14 LIB1ASMFUNCS = _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 \
15 _m16eqsf2 _m16nesf2 _m16gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 \
16 _m16fltsisf _m16fix_truncsfsi \
17 _m16adddf3 _m16subdf3 _m16muldf3 _m16divdf3 \
18 _m16extsfdf2 _m16trdfsf2 \
19 _m16eqdf2 _m16nedf2 _m16gtdf2 _m16gedf2 _m16ledf2 _m16ltdf2 \
20 _m16fltsidf _m16fix_truncdfsi \
22 _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 \
23 _m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 \
24 _m16stubsf9 _m16stubsf10 \
25 _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6 \
26 _m16stubdf9 _m16stubdf10
28 # We must build libgcc2.a with -G 0, in case the user wants to link
29 # without the $gp register.
30 TARGET_LIBGCC2_CFLAGS = -G 0
32 # Build the libraries for both hard and soft floating point
34 MULTILIB_OPTIONS = msoft-float EL/EB
35 MULTILIB_DIRNAMES = soft-float el eb
36 MULTILIB_MATCHES = EL=mel EB=meb
37 MULTILIB_MATCHES = msingle-float=m4650
38 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
40 LIBGCC = stmp-multilib
41 INSTALL_LIBGCC = install-multilib