1 /* BFD support for the SPARC architecture.
2 Copyright 1992, 1995, 1996, 1998, 2000, 2002
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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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
,
42 32, /* bits in a word */
43 32, /* bits in an address */
44 8, /* bits in a byte */
46 bfd_mach_sparc_sparclite
,
51 bfd_default_compatible
,
56 32, /* bits in a word */
57 32, /* bits in an address */
58 8, /* bits in a byte */
60 bfd_mach_sparc_v8plus
,
65 bfd_default_compatible
,
70 32, /* bits in a word */
71 32, /* bits in an address */
72 8, /* bits in a byte */
74 bfd_mach_sparc_v8plusa
,
79 bfd_default_compatible
,
84 32, /* bits in a word */
85 32, /* bits in an address */
86 8, /* bits in a byte */
88 bfd_mach_sparc_sparclite_le
,
93 bfd_default_compatible
,
98 64, /* bits in a word */
99 64, /* bits in an address */
100 8, /* bits in a byte */
107 bfd_default_compatible
,
109 &arch_info_struct
[6],
112 64, /* bits in a word */
113 64, /* bits in an address */
114 8, /* bits in a byte */
121 bfd_default_compatible
,
123 &arch_info_struct
[7],
126 32, /* bits in a word */
127 32, /* bits in an address */
128 8, /* bits in a byte */
130 bfd_mach_sparc_v8plusb
,
135 bfd_default_compatible
,
137 &arch_info_struct
[8],
140 64, /* bits in a word */
141 64, /* bits in an address */
142 8, /* bits in a byte */
149 bfd_default_compatible
,
155 const bfd_arch_info_type bfd_sparc_arch
=
157 32, /* bits in a word */
158 32, /* bits in an address */
159 8, /* bits in a byte */
165 true, /* the default */
166 bfd_default_compatible
,
168 &arch_info_struct
[0],