1 /* Copyright 2006, 2007 Free Software Foundation, Inc.
3 This file is part of BFD, the Binary File Descriptor library.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
24 static const bfd_arch_info_type *
25 spu_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b)
27 BFD_ASSERT (a->arch == bfd_arch_spu);
33 return bfd_default_compatible (a, b);
38 const bfd_arch_info_type bfd_spu_arch[] =
41 32, /* 32 bits in a word */
42 32, /* 32 bits in an address */
43 8, /* 8 bits in a byte */
44 bfd_arch_spu, /* architecture */
45 bfd_mach_spu, /* machine */
46 "spu", /* architecture name */
47 "spu:256K", /* printable name */
48 3, /* aligned power */
49 TRUE, /* the default machine for the architecture */
50 spu_compatible, /* the spu is only compatible with itself, see above */
52 bfd_arch_default_fill,
53 0, /* next -- there are none! */