1 /* BFD support for the SPARC architecture.
2 Copyright (C) 1992-2016 Free Software Foundation, Inc.
4 This file is part of BFD, the Binary File Descriptor library.
6 This program 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 of the License, or
9 (at your option) any later version.
11 This program 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.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
25 static const bfd_arch_info_type arch_info_struct
[] =
28 32, /* bits in a word */
29 32, /* bits in an address */
30 8, /* bits in a byte */
32 bfd_mach_sparc_sparclet
,
37 bfd_default_compatible
,
39 bfd_arch_default_fill
,
43 32, /* bits in a word */
44 32, /* bits in an address */
45 8, /* bits in a byte */
47 bfd_mach_sparc_sparclite
,
52 bfd_default_compatible
,
54 bfd_arch_default_fill
,
58 32, /* bits in a word */
59 32, /* bits in an address */
60 8, /* bits in a byte */
62 bfd_mach_sparc_v8plus
,
67 bfd_default_compatible
,
69 bfd_arch_default_fill
,
73 32, /* bits in a word */
74 32, /* bits in an address */
75 8, /* bits in a byte */
77 bfd_mach_sparc_v8plusa
,
82 bfd_default_compatible
,
84 bfd_arch_default_fill
,
88 32, /* bits in a word */
89 32, /* bits in an address */
90 8, /* bits in a byte */
92 bfd_mach_sparc_sparclite_le
,
97 bfd_default_compatible
,
99 bfd_arch_default_fill
,
100 &arch_info_struct
[5],
103 64, /* bits in a word */
104 64, /* bits in an address */
105 8, /* bits in a byte */
112 bfd_default_compatible
,
114 bfd_arch_default_fill
,
115 &arch_info_struct
[6],
118 64, /* bits in a word */
119 64, /* bits in an address */
120 8, /* bits in a byte */
127 bfd_default_compatible
,
129 bfd_arch_default_fill
,
130 &arch_info_struct
[7],
133 32, /* bits in a word */
134 32, /* bits in an address */
135 8, /* bits in a byte */
137 bfd_mach_sparc_v8plusb
,
142 bfd_default_compatible
,
144 bfd_arch_default_fill
,
145 &arch_info_struct
[8],
148 64, /* bits in a word */
149 64, /* bits in an address */
150 8, /* bits in a byte */
157 bfd_default_compatible
,
159 bfd_arch_default_fill
,
160 &arch_info_struct
[9],
163 32, /* bits in a word */
164 32, /* bits in an address */
165 8, /* bits in a byte */
167 bfd_mach_sparc_v8plusc
,
172 bfd_default_compatible
,
174 bfd_arch_default_fill
,
175 &arch_info_struct
[10],
178 64, /* bits in a word */
179 64, /* bits in an address */
180 8, /* bits in a byte */
187 bfd_default_compatible
,
189 bfd_arch_default_fill
,
190 &arch_info_struct
[11],
193 32, /* bits in a word */
194 32, /* bits in an address */
195 8, /* bits in a byte */
197 bfd_mach_sparc_v8plusd
,
202 bfd_default_compatible
,
204 bfd_arch_default_fill
,
205 &arch_info_struct
[12],
208 64, /* bits in a word */
209 64, /* bits in an address */
210 8, /* bits in a byte */
217 bfd_default_compatible
,
219 bfd_arch_default_fill
,
220 &arch_info_struct
[13],
223 32, /* bits in a word */
224 32, /* bits in an address */
225 8, /* bits in a byte */
227 bfd_mach_sparc_v8pluse
,
232 bfd_default_compatible
,
234 bfd_arch_default_fill
,
235 &arch_info_struct
[14],
238 64, /* bits in a word */
239 64, /* bits in an address */
240 8, /* bits in a byte */
247 bfd_default_compatible
,
249 bfd_arch_default_fill
,
250 &arch_info_struct
[15],
253 32, /* bits in a word */
254 32, /* bits in an address */
255 8, /* bits in a byte */
257 bfd_mach_sparc_v8plusv
,
262 bfd_default_compatible
,
264 bfd_arch_default_fill
,
265 &arch_info_struct
[16],
268 64, /* bits in a word */
269 64, /* bits in an address */
270 8, /* bits in a byte */
277 bfd_default_compatible
,
279 bfd_arch_default_fill
,
280 &arch_info_struct
[17],
283 32, /* bits in a word */
284 32, /* bits in an address */
285 8, /* bits in a byte */
287 bfd_mach_sparc_v8plusm
,
292 bfd_default_compatible
,
294 bfd_arch_default_fill
,
295 &arch_info_struct
[18],
298 64, /* bits in a word */
299 64, /* bits in an address */
300 8, /* bits in a byte */
307 bfd_default_compatible
,
309 bfd_arch_default_fill
,
314 const bfd_arch_info_type bfd_sparc_arch
=
316 32, /* bits in a word */
317 32, /* bits in an address */
318 8, /* bits in a byte */
324 TRUE
, /* the default */
325 bfd_default_compatible
,
327 bfd_arch_default_fill
,
328 &arch_info_struct
[0],