]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/mips/t-elf
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
[thirdparty/gcc.git] / gcc / config / mips / t-elf
1 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006,
2 # 2007 Free Software Foundation, Inc.
3 #
4 # This file is part of GCC.
5 #
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10 #
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>.
19
20 # Don't let CTOR_LIST end up in sdata section.
21 CRTSTUFF_T_CFLAGS = -G 0
22
23 # Assemble startup files.
24 $(T)crti.o: $(srcdir)/config/mips/crti.asm $(GCC_PASSES)
25 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
26 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mips/crti.asm
27
28 $(T)crtn.o: $(srcdir)/config/mips/crtn.asm $(GCC_PASSES)
29 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
30 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mips/crtn.asm
31
32 # We must build libgcc2.a with -G 0, in case the user wants to link
33 # without the $gp register.
34 TARGET_LIBGCC2_CFLAGS = -G 0
35
36 # Build the libraries for both hard and soft floating point
37
38 MULTILIB_OPTIONS = msoft-float EL/EB
39 MULTILIB_DIRNAMES = soft-float el eb
40 MULTILIB_MATCHES = EL=mel EB=meb msingle-float=m4650
41 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
42
43 LIBGCC = stmp-multilib
44 INSTALL_LIBGCC = install-multilib