1 /* BFD support for the SPARC architecture.
2 Copyright 1992, 1995, 1996, 1998, 2000, 2002, 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,
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,
57 32, /* bits in a word */
58 32, /* bits in an address */
59 8, /* bits in a byte */
61 bfd_mach_sparc_v8plus,
66 bfd_default_compatible,
71 32, /* bits in a word */
72 32, /* bits in an address */
73 8, /* bits in a byte */
75 bfd_mach_sparc_v8plusa,
80 bfd_default_compatible,
85 32, /* bits in a word */
86 32, /* bits in an address */
87 8, /* bits in a byte */
89 bfd_mach_sparc_sparclite_le,
94 bfd_default_compatible,
99 64, /* bits in a word */
100 64, /* bits in an address */
101 8, /* bits in a byte */
108 bfd_default_compatible,
110 &arch_info_struct[6],
113 64, /* bits in a word */
114 64, /* bits in an address */
115 8, /* bits in a byte */
122 bfd_default_compatible,
124 &arch_info_struct[7],
127 32, /* bits in a word */
128 32, /* bits in an address */
129 8, /* bits in a byte */
131 bfd_mach_sparc_v8plusb,
136 bfd_default_compatible,
138 &arch_info_struct[8],
141 64, /* bits in a word */
142 64, /* bits in an address */
143 8, /* bits in a byte */
150 bfd_default_compatible,
156 const bfd_arch_info_type bfd_sparc_arch =
158 32, /* bits in a word */
159 32, /* bits in an address */
160 8, /* bits in a byte */
166 TRUE, /* the default */
167 bfd_default_compatible,
169 &arch_info_struct[0],