]>
Commit | Line | Data |
---|---|---|
818ab71a | 1 | # Copyright (C) 1998-2016 Free Software Foundation, Inc. |
ad41bd84 JM |
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 | ||
2359a5e1 NC |
19 | MULTILIB_OPTIONS = marm/mthumb |
20 | MULTILIB_DIRNAMES = arm thumb | |
21 | MULTILIB_EXCEPTIONS = | |
4202ce82 | 22 | MULTILIB_MATCHES = |
9b6b54e2 | 23 | |
c02a5ccb SL |
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 | |
27 | ||
5b3e6663 PB |
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 | |
37 | ||
390b17c2 RE |
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* | |
c02a5ccb SL |
44 | #MULTILIB_EXCEPTIONS += *mcpu=fa526/*mfloat-abi=hard* |
45 | #MULTILIB_EXCEPTIONS += *mcpu=fa626/*mfloat-abi=hard* | |
390b17c2 | 46 | |
9b6b54e2 NC |
47 | # MULTILIB_OPTIONS += mcpu=ep9312 |
48 | # MULTILIB_DIRNAMES += ep9312 | |
49 | # MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312* | |
61f0ccff | 50 | # |
6c76b950 NC |
51 | # MULTILIB_OPTIONS += mlittle-endian/mbig-endian |
52 | # MULTILIB_DIRNAMES += le be | |
4202ce82 | 53 | # MULTILIB_MATCHES += mbig-endian=mbe mlittle-endian=mle |
3bcb1bb0 | 54 | # |
5e1b4d5a | 55 | # MULTILIB_OPTIONS += mfloat-abi=hard/mfloat-abi=soft |
3bcb1bb0 | 56 | # MULTILIB_DIRNAMES += fpu soft |
5e1b4d5a | 57 | # MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard* |
3bcb1bb0 | 58 | # |
3bcb1bb0 NC |
59 | # MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork |
60 | # MULTILIB_DIRNAMES += normal interwork | |
3bcb1bb0 NC |
61 | # |
62 | # MULTILIB_OPTIONS += fno-leading-underscore/fleading-underscore | |
63 | # MULTILIB_DIRNAMES += elf under | |
64 | # | |
65 | # MULTILIB_OPTIONS += mcpu=arm7 | |
66 | # MULTILIB_DIRNAMES += nofmult | |
b3026a92 NC |
67 | # MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7* |
68 | # # Note: the multilib_exceptions matches both -mthumb and | |
69 | # # -mthumb-interwork | |
70 | # # | |
3bcb1bb0 NC |
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 |