]>
Commit | Line | Data |
---|---|---|
0e5a4ad8 EC |
1 | # Don't let CTOR_LIST end up in sdata section. |
2 | CRTSTUFF_T_CFLAGS = -G 0 | |
3 | ||
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 | |
8 | ||
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 | |
12 | ||
0e5a4ad8 EC |
13 | LIB1ASMSRC = mips/mips16.S |
14 | LIB1ASMFUNCS = _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 \ | |
15 | _m16eqsf2 _m16nesf2 _m16gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 \ | |
91e01231 | 16 | _m16fltsisf _m16fix_truncsfsi \ |
0e5a4ad8 EC |
17 | _m16adddf3 _m16subdf3 _m16muldf3 _m16divdf3 \ |
18 | _m16extsfdf2 _m16trdfsf2 \ | |
19 | _m16eqdf2 _m16nedf2 _m16gtdf2 _m16gedf2 _m16ledf2 _m16ltdf2 \ | |
91e01231 | 20 | _m16fltsidf _m16fix_truncdfsi \ |
0e5a4ad8 | 21 | _m16retsf _m16retdf \ |
a38e0142 | 22 | _m16retsc _m16retdc \ |
0e5a4ad8 EC |
23 | _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10 \ |
24 | _m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 \ | |
25 | _m16stubsf9 _m16stubsf10 \ | |
26 | _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6 \ | |
a38e0142 SL |
27 | _m16stubdf9 _m16stubdf10 \ |
28 | _m16stubsc0 _m16stubsc1 _m16stubsc2 _m16stubsc5 _m16stubsc6 \ | |
29 | _m16stubsc9 _m16stubsc10 \ | |
30 | _m16stubdc0 _m16stubdc1 _m16stubdc2 _m16stubdc5 _m16stubdc6 \ | |
31 | _m16stubdc9 _m16stubdc10 | |
0e5a4ad8 EC |
32 | |
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 | |
36 | ||
0e5a4ad8 EC |
37 | # Build the libraries for both hard and soft floating point |
38 | ||
2d2a50c3 CD |
39 | MULTILIB_OPTIONS = msoft-float EL/EB mips32/mips32r2/mips64 |
40 | MULTILIB_DIRNAMES = soft-float el eb mips32 mips32r2 mips64 | |
fded6d78 | 41 | MULTILIB_MATCHES = EL=mel EB=meb |
0e5a4ad8 EC |
42 | EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o |
43 | ||
44 | LIBGCC = stmp-multilib | |
45 | INSTALL_LIBGCC = install-multilib |