summaryrefslogtreecommitdiff
path: root/gcc/config/msp430/t-msp430
blob: 74a3c529f6bff6c28b4745861865365cd92827ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# Makefile fragment for building GCC for the TI MSP430 target.
# Copyright (C) 2012-2014 Free Software Foundation, Inc.
# Contributed by Red Hat.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3, or (at your
# option) any later version.
#
# GCC is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See
# the GNU General Public License for more details.
#
# You should have received a copy of the  GNU General Public
# License along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

# Enable multilibs:

MULTILIB_OPTIONS    = mcpu=msp430 mlarge
MULTILIB_DIRNAMES   = 430 large

# Match -mcpu=430
MULTILIB_MATCHES    = mcpu?msp430=mcpu?430

# Match the known 430 ISA mcu names.
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe221	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe222	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe223	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe231	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe232	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe233	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe251	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe252	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430afe253	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c091
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c092
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c111	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c1111	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c1121	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c1331	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c1351	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c311s	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c312	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c313	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c314	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c315	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c323	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c325	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c336	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c337	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c412	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430c413	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430e112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430e313	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430e315	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430e325	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430e337	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f110	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1101	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1101a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1111	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1111a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1121	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1121a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1122	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1132	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f122	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1222	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f123	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1232	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f133	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f135	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f147	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1471	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f148	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1481	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f149	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1491	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f155	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f156	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f157	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1610	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1611	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f1612	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f167	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f168	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f169	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2001	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2002	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2003	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2011	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2012	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2013	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2101	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2111	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2121	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2122	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2131	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2132	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2232	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2234	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2252	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2254	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2272	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2274	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f233	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2330	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f235	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2350	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2370	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2410	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f247	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2471	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f248	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2481	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f249	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f2491	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f412	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f413	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4132	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f415	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4152	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f417	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f423	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f423a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f425	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4250	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f425a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4260	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f427	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4270	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f427a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f435	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4351	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f436	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4361	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f437	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4371	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f438	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f439	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f447	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f448	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4481	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f449	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4491	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f477	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f478	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4783	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4784	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f479	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4793	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430f4794	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe423	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe4232	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe423a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe4242	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe425	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe4252	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe425a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe427	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe4272	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fe427a	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg4250	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg4260	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg4270	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg437	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg438	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg439	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg477	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg478	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fg479	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fw423	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fw425	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fw427	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fw428	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430fw429	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2001	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2101	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2102	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2111	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2113	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2121	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2131	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2132	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2152	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2153	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2201	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2202	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2203	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2210	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2211	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2212	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2213	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2221	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2230	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2231	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2232	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2233	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2252	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2253	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2302	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2303	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2312	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2313	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2332	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2333	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2352	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2353	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2402	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2403	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2412	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2413	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2432	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2433	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2444	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2452	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2453	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2513	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2533	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2544	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2553	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2744	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2755	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2855	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430g2955	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2020	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2021	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2030	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2031	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2040	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430i2041	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430l092
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p112	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p313	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p315	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p315s	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p325	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430p337	
MULTILIB_MATCHES += mcpu?msp430=mmcu?msp430tch5e	

# Add additional MCU matches like this:
# MULTILIB_MATCHES += mcpu?msp430x=mmcu?xxxxxxxxxx

MULTILIB_EXCEPTIONS = mcpu=msp430/mlarge

MULTILIB_EXTRA_OPTS =

msp430-c.o: $(srcdir)/config/msp430/msp430-c.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_H)
	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<