Reverting merge from trunk
[official-gcc.git] / gcc / config / arc / t-arc-newlib
blobb70b139e4788591d46bd64f86667bb4229f196fe
1 # GCC Makefile fragment for Synopsys DesignWare ARC with newlib.
3 # Copyright (C) 2007-2013 Free Software Foundation, Inc.
5 # This file is part of GCC.
7 # GCC is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3, or (at your option) any later version.
11 # GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
14 # details.
16 # You should have received a copy of the GNU General Public License along
17 # with GCC; see the file COPYING3.  If not see
18 # <http://www.gnu.org/licenses/>.
20 # Selecting -mA5 uses the same functional multilib files/libraries
21 # as get used for -mARC600 aka -mA6.
22 MULTILIB_OPTIONS=mcpu=ARC600/mcpu=ARC601 mmul64/mmul32x16 mnorm
23 MULTILIB_DIRNAMES=arc600 arc601 mul64 mul32x16 norm
25 # Aliases:
26 MULTILIB_MATCHES  = mcpu?ARC600=mcpu?arc600
27 MULTILIB_MATCHES += mcpu?ARC600=mARC600
28 MULTILIB_MATCHES += mcpu?ARC600=mA6
29 MULTILIB_MATCHES += mcpu?ARC600=mA5
30 MULTILIB_MATCHES += mcpu?ARC600=mno-mpy
31 MULTILIB_MATCHES += mcpu?ARC601=mcpu?arc601
32 MULTILIB_MATCHES += EL=mlittle-endian
33 MULTILIB_MATCHES += EB=mbig-endian
35 # These don't make sense for the ARC700 default target:
36 MULTILIB_EXCEPTIONS=mmul64* mmul32x16* mnorm*
37 # And neither of the -mmul* options make sense without -mnorm:
38 MULTILIB_EXCLUSIONS=mARC600/mmul64/!mnorm mcpu=ARC601/mmul64/!mnorm mARC600/mmul32x16/!mnorm