2012-08-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / config / mips / t-isa3264
blob7291193f8a6b3a3c0ea0fc5f0dc28f8ce6b95f57
1 # Copyright (C) 2001, 2002, 2003, 2004, 2007,
2 # 2008, 2011 Free Software Foundation, Inc.
4 # This file is part of GCC.
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.
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.
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/>.
20 # Build the libraries for both hard and soft floating point
22 ifneq ($(filter MIPS_ABI_DEFAULT=ABI_EABI,$(tm_defines)),)
23 MULTILIB_OPTIONS = msoft-float EL/EB mips32/mips32r2/mips64/mips64r2
24 MULTILIB_DIRNAMES = soft-float el eb mips32 mips32r2 mips64 mips64r2
25 else
26 MULTILIB_OPTIONS = msoft-float/mfp64 EL/EB mips32/mips32r2/mips64/mips64r2
27 MULTILIB_DIRNAMES = soft-float fp64 el eb mips32 mips32r2 mips64 mips64r2
28 ifneq ($(filter MIPS_ISA_DEFAULT=33,$(tm_defines)),)
29 MULTILIB_EXCLUSIONS = mips32/mfp64 mips64/mfp64 mips64r2/mfp64
30 else
31 MULTILIB_EXCLUSIONS = !mips32r2/mfp64
32 endif
33 endif
34 MULTILIB_MATCHES = EL=mel EB=meb