1 /* BFD support for the SPARC architecture.
2 Copyright 1992, 1995, 1996, 1998, 2000, 2002, 2005, 2007
3 Free Software Foundation, Inc.
5 This file is part of BFD, the Binary File Descriptor library.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
26 static const bfd_arch_info_type arch_info_struct
[] =
29 32, /* bits in a word */
30 32, /* bits in an address */
31 8, /* bits in a byte */
33 bfd_mach_sparc_sparclet
,
38 bfd_default_compatible
,
40 bfd_arch_default_fill
,
44 32, /* bits in a word */
45 32, /* bits in an address */
46 8, /* bits in a byte */
48 bfd_mach_sparc_sparclite
,
53 bfd_default_compatible
,
55 bfd_arch_default_fill
,
59 32, /* bits in a word */
60 32, /* bits in an address */
61 8, /* bits in a byte */
63 bfd_mach_sparc_v8plus
,
68 bfd_default_compatible
,
70 bfd_arch_default_fill
,
74 32, /* bits in a word */
75 32, /* bits in an address */
76 8, /* bits in a byte */
78 bfd_mach_sparc_v8plusa
,
83 bfd_default_compatible
,
85 bfd_arch_default_fill
,
89 32, /* bits in a word */
90 32, /* bits in an address */
91 8, /* bits in a byte */
93 bfd_mach_sparc_sparclite_le
,
98 bfd_default_compatible
,
100 bfd_arch_default_fill
,
101 &arch_info_struct
[5],
104 64, /* bits in a word */
105 64, /* bits in an address */
106 8, /* bits in a byte */
113 bfd_default_compatible
,
115 bfd_arch_default_fill
,
116 &arch_info_struct
[6],
119 64, /* bits in a word */
120 64, /* bits in an address */
121 8, /* bits in a byte */
128 bfd_default_compatible
,
130 bfd_arch_default_fill
,
131 &arch_info_struct
[7],
134 32, /* bits in a word */
135 32, /* bits in an address */
136 8, /* bits in a byte */
138 bfd_mach_sparc_v8plusb
,
143 bfd_default_compatible
,
145 bfd_arch_default_fill
,
146 &arch_info_struct
[8],
149 64, /* bits in a word */
150 64, /* bits in an address */
151 8, /* bits in a byte */
158 bfd_default_compatible
,
160 bfd_arch_default_fill
,
165 const bfd_arch_info_type bfd_sparc_arch
=
167 32, /* bits in a word */
168 32, /* bits in an address */
169 8, /* bits in a byte */
175 TRUE
, /* the default */
176 bfd_default_compatible
,
178 bfd_arch_default_fill
,
179 &arch_info_struct
[0],