1 /* BFD back-end for rs6000 support
2 Copyright (C) 1990, 1991 Free Software Foundation, Inc.
3 FIXME: Can someone provide a transliteration of this name into ASCII?
4 Using the following chars caused a compiler warning on HIUX (so I replaced
5 them with octal escapes), and isn't useful without an understanding of what
7 Written by Mimi Ph\373\364ng-Th\345o V\365 of IBM
8 and John Gilmore of Cygnus Support.
10 This file is part of BFD, the Binary File Descriptor library.
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
30 /* The RS/6000 architecture is compatible with the PowerPC common
33 static const bfd_arch_info_type
*rs6000_compatible
34 PARAMS ((const bfd_arch_info_type
*, const bfd_arch_info_type
*));
36 static const bfd_arch_info_type
*
37 rs6000_compatible (a
,b
)
38 const bfd_arch_info_type
*a
;
39 const bfd_arch_info_type
*b
;
41 BFD_ASSERT (a
->arch
== bfd_arch_rs6000
);
47 return bfd_default_compatible (a
, b
);
48 case bfd_arch_powerpc
:
56 const bfd_arch_info_type bfd_rs6000_arch
=
58 32, /* 32 bits in a word */
59 32, /* 32 bits in an address */
60 8, /* 8 bits in a byte */
62 6000, /* only 1 machine */
66 true, /* the one and only */