Rebase.
[official-gcc.git] / gcc / config / arm / t-arm-elf
blob8ef6b04ffbe9c61779c559c5b49939a8c74faa53
1 # Copyright (C) 1998-2014 Free Software Foundation, Inc.
3 # This file is part of GCC.
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.
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.
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/>.
19 MULTILIB_OPTIONS     = marm/mthumb
20 MULTILIB_DIRNAMES    = arm thumb
21 MULTILIB_EXCEPTIONS  = 
22 MULTILIB_MATCHES     =
24 #MULTILIB_OPTIONS     += mcpu=fa526/mcpu=fa626/mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
25 #MULTILIB_DIRNAMES    += fa526 fa626 fa606te fa626te fmp626 fa726te
26 #MULTILIB_EXCEPTIONS  += *mthumb*/*mcpu=fa526 *mthumb*/*mcpu=fa626
28 #MULTILIB_OPTIONS      += march=armv7
29 #MULTILIB_DIRNAMES     += thumb2
30 #MULTILIB_EXCEPTIONS   += march=armv7* marm/*march=armv7*
31 #MULTILIB_MATCHES      += march?armv7=march?armv7-a
32 #MULTILIB_MATCHES      += march?armv7=march?armv7-r
33 #MULTILIB_MATCHES      += march?armv7=march?armv7-m
34 #MULTILIB_MATCHES      += march?armv7=mcpu?cortex-a8
35 #MULTILIB_MATCHES      += march?armv7=mcpu?cortex-r4
36 #MULTILIB_MATCHES      += march?armv7=mcpu?cortex-m3
38 # Not quite true.  We can support hard-vfp calling in Thumb2, but how do we
39 # express that here?  Also, we really need architecture v5e or later
40 # (mcrr etc).
41 MULTILIB_OPTIONS       += mfloat-abi=hard
42 MULTILIB_DIRNAMES      += fpu
43 MULTILIB_EXCEPTIONS    += *mthumb/*mfloat-abi=hard*
44 #MULTILIB_EXCEPTIONS    += *mcpu=fa526/*mfloat-abi=hard*
45 #MULTILIB_EXCEPTIONS    += *mcpu=fa626/*mfloat-abi=hard*
47 # MULTILIB_OPTIONS    += mcpu=ep9312
48 # MULTILIB_DIRNAMES   += ep9312
49 # MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312*
50 #       
51 # MULTILIB_OPTIONS     += mlittle-endian/mbig-endian
52 # MULTILIB_DIRNAMES    += le be
53 # MULTILIB_MATCHES     += mbig-endian=mbe mlittle-endian=mle
54
55 # MULTILIB_OPTIONS    += mfloat-abi=hard/mfloat-abi=soft
56 # MULTILIB_DIRNAMES   += fpu soft
57 # MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
58
59 # MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
60 # MULTILIB_DIRNAMES   += normal interwork
61
62 # MULTILIB_OPTIONS    += fno-leading-underscore/fleading-underscore
63 # MULTILIB_DIRNAMES   += elf under
64
65 # MULTILIB_OPTIONS    += mcpu=arm7
66 # MULTILIB_DIRNAMES   += nofmult
67 # MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7*
68 # # Note: the multilib_exceptions matches both -mthumb and
69 # # -mthumb-interwork
70 # #
71 # # We have to match all the arm cpu variants which do not have the
72 # # multiply instruction and treat them as if the user had specified
73 # # -mcpu=arm7.  Note that in the following the ? is interpreted as
74 # # an = for the purposes of matching command line options.
75 # # FIXME: There ought to be a better way to do this.
76 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7d
77 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7di
78 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm70
79 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm700
80 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm700i
81 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm710
82 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm710c
83 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7100
84 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7500
85 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7500fe
86 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm6
87 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm60
88 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm600
89 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm610
90 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm620