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 \
23 _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 \
24 _m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 \
25 _m16stubsf9 _m16stubsf10 \
26 _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6 \
27 _m16stubdf9 _m16stubdf10 \
28 _m16stubsc0 _m16stubsc1 _m16stubsc2 _m16stubsc5 _m16stubsc6 \
29 _m16stubsc9 _m16stubsc10 \
30 _m16stubdc0 _m16stubdc1 _m16stubdc2 _m16stubdc5 _m16stubdc6 \
31 _m16stubdc9 _m16stubdc10
33 # We must build libgcc2.a with -G 0, in case the user wants to link
34 # without the $gp register.
35 TARGET_LIBGCC2_CFLAGS = -G 0
37 # Build the libraries for both hard and soft floating point
39 MULTILIB_OPTIONS = msoft-float EL/EB
40 MULTILIB_DIRNAMES = soft-float el eb
41 MULTILIB_MATCHES = EL=mel EB=meb msingle-float=m4650
42 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
44 LIBGCC = stmp-multilib
45 INSTALL_LIBGCC = install-multilib