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