* x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.
[binutils.git] / bfd / cpu-spu.c
blob64ba357f54158438bb03715050dec04be106df6c
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. */
19 #include "sysdep.h"
20 #include "bfd.h"
21 #include "libbfd.h"
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);
28 switch (b->arch)
30 default:
31 return NULL;
32 case bfd_arch_spu:
33 return bfd_default_compatible (a, b);
35 /*NOTREACHED*/
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 */
51 bfd_default_scan,
52 0, /* next -- there are none! */