xref: /openbsd/gnu/usr.bin/binutils/bfd/cpu-m68hc12.c (revision 5f210c2a)
1*5f210c2aSfgsch /* BFD support for the Motorola 68HC12 processor
2*5f210c2aSfgsch    Copyright 1999, 2000 Free Software Foundation, Inc.
3*5f210c2aSfgsch 
4*5f210c2aSfgsch This file is part of BFD, the Binary File Descriptor library.
5*5f210c2aSfgsch 
6*5f210c2aSfgsch This program is free software; you can redistribute it and/or modify
7*5f210c2aSfgsch it under the terms of the GNU General Public License as published by
8*5f210c2aSfgsch the Free Software Foundation; either version 2 of the License, or
9*5f210c2aSfgsch (at your option) any later version.
10*5f210c2aSfgsch 
11*5f210c2aSfgsch This program is distributed in the hope that it will be useful,
12*5f210c2aSfgsch but WITHOUT ANY WARRANTY; without even the implied warranty of
13*5f210c2aSfgsch MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*5f210c2aSfgsch GNU General Public License for more details.
15*5f210c2aSfgsch 
16*5f210c2aSfgsch You should have received a copy of the GNU General Public License
17*5f210c2aSfgsch along with this program; if not, write to the Free Software
18*5f210c2aSfgsch Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19*5f210c2aSfgsch 
20*5f210c2aSfgsch #include "bfd.h"
21*5f210c2aSfgsch #include "sysdep.h"
22*5f210c2aSfgsch #include "libbfd.h"
23*5f210c2aSfgsch 
24*5f210c2aSfgsch const bfd_arch_info_type bfd_m68hc12_arch =
25*5f210c2aSfgsch {
26*5f210c2aSfgsch     16,	/* 16 bits in a word */
27*5f210c2aSfgsch     16,	/* 16 bits in an address */
28*5f210c2aSfgsch     8,	/* 8 bits in a byte */
29*5f210c2aSfgsch     bfd_arch_m68hc12,
30*5f210c2aSfgsch     0,
31*5f210c2aSfgsch     "m68hc12",
32*5f210c2aSfgsch     "m68hc12",
33*5f210c2aSfgsch     4, /* section alignment power */
34*5f210c2aSfgsch     true,
35*5f210c2aSfgsch     bfd_default_compatible,
36*5f210c2aSfgsch     bfd_default_scan,
37*5f210c2aSfgsch     0,
38*5f210c2aSfgsch };
39