xref: /openbsd-src/gnu/usr.bin/binutils/bfd/cpu-mcore.c (revision d2201f2f89f0be1a0be6f7568000ed297414a06d)
1f7cc78ecSespie /* BFD library support routines for Motorola's MCore architecture
2*d2201f2fSdrahn    Copyright 1993, 1999, 2002 Free Software Foundation, Inc.
3f7cc78ecSespie 
4f7cc78ecSespie This file is part of BFD, the Binary File Descriptor library.
5f7cc78ecSespie 
6f7cc78ecSespie This program is free software; you can redistribute it and/or modify
7f7cc78ecSespie it under the terms of the GNU General Public License as published by
8f7cc78ecSespie the Free Software Foundation; either version 2 of the License, or
9f7cc78ecSespie (at your option) any later version.
10f7cc78ecSespie 
11f7cc78ecSespie This program is distributed in the hope that it will be useful,
12f7cc78ecSespie but WITHOUT ANY WARRANTY; without even the implied warranty of
13f7cc78ecSespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14f7cc78ecSespie GNU General Public License for more details.
15f7cc78ecSespie 
16f7cc78ecSespie You should have received a copy of the GNU General Public License
17f7cc78ecSespie along with this program; if not, write to the Free Software
18f7cc78ecSespie Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19f7cc78ecSespie 
20f7cc78ecSespie #include "bfd.h"
21f7cc78ecSespie #include "sysdep.h"
22f7cc78ecSespie #include "libbfd.h"
23f7cc78ecSespie 
24f7cc78ecSespie const bfd_arch_info_type bfd_mcore_arch =
25f7cc78ecSespie {
26f7cc78ecSespie   32,		  		/* 32 bits in a word */
27f7cc78ecSespie   32,		  		/* 32 bits in an address */
28f7cc78ecSespie   8,		  		/* 8 bits in a byte */
29f7cc78ecSespie   bfd_arch_mcore, 		/* Architecture */
30f7cc78ecSespie   0,		  		/* Machine number - 0 for now */
31f7cc78ecSespie   "MCore",	  		/* Architecture name */
32f7cc78ecSespie   "MCore",	  		/* Printable name */
33f7cc78ecSespie   3,		  		/* Section align power */
34*d2201f2fSdrahn   TRUE,		  		/* Is this the default architecture ? */
35f7cc78ecSespie   bfd_default_compatible,	/* Architecture comparison function */
36f7cc78ecSespie   bfd_default_scan,	   	/* String to architecture conversion */
37f7cc78ecSespie   NULL			   	/* Next in list */
38f7cc78ecSespie };
39