1214571Sdim/* BFD support for the CR16 processor.
2214571Sdim   Copyright 2007 Free Software Foundation, Inc.
3214571Sdim   Written by M R Swami Reddy
4214571Sdim
5214571Sdim   This file is part of BFD, the Binary File Descriptor library.
6214571Sdim
7214571Sdim   This program is free software; you can redistribute it and/or modify
8214571Sdim   it under the terms of the GNU General Public License as published by
9214571Sdim   the Free Software Foundation; either version 2 of the License, or
10214571Sdim   (at your option) any later version.
11214571Sdim
12214571Sdim   This program is distributed in the hope that it will be useful,
13214571Sdim   but WITHOUT ANY WARRANTY; without even the implied warranty of
14214571Sdim   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15214571Sdim   GNU General Public License for more details.
16214571Sdim
17214571Sdim   You should have received a copy of the GNU General Public License
18214571Sdim   along with this program; if not, write to the Free Software Foundation,
19214571Sdim   Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
20214571Sdim
21214571Sdim#include "sysdep.h"
22214571Sdim#include "bfd.h"
23214571Sdim#include "libbfd.h"
24214571Sdim
25214571Sdim
26214571Sdimconst bfd_arch_info_type bfd_cr16_arch =
27214571Sdim  {
28214571Sdim    16,               /* 16 bits in a word.  */
29214571Sdim    32,               /* 32 bits in an address.  */
30214571Sdim    8,                /*  8 bits in a byte.  */
31214571Sdim    bfd_arch_cr16,    /* enum bfd_architecture arch.  */
32214571Sdim    bfd_mach_cr16,
33214571Sdim    "cr16",           /* Arch name.  */
34214571Sdim    "cr16",           /* Printable name.  */
35214571Sdim    1,                /* Unsigned int section alignment power.  */
36214571Sdim    TRUE,             /* The one and only.  */
37214571Sdim    bfd_default_compatible,
38214571Sdim    bfd_default_scan ,
39214571Sdim    0,
40214571Sdim  };
41