OSDN Git Service

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