Back to index

cell-binutils  2.17cvs20070401
cpu-iq2000.c
Go to the documentation of this file.
00001 /* BFD support for the Vitesse IQ2000 processor.
00002    Copyright (C) 2003 Free Software Foundation, Inc.
00003 
00004 This file is part of BFD, the Binary File Descriptor library.
00005 
00006 This program is free software; you can redistribute it and/or modify
00007 it under the terms of the GNU General Public License as published by
00008 the Free Software Foundation; either version 2 of the License, or
00009 (at your option) any later version.
00010 
00011 This program is distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 GNU General Public License for more details.
00015 
00016 You should have received a copy of the GNU General Public License
00017 along with this program; if not, write to the Free Software
00018 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00019 
00020 #include "bfd.h"
00021 #include "sysdep.h"
00022 #include "libbfd.h"
00023 
00024 static const bfd_arch_info_type arch_info_struct[] =
00025 {
00026   {
00027     32,                            /* bits per word */
00028     32,                            /* bits per address */
00029     8,                      /* bits per byte */
00030     bfd_arch_iq2000,        /* architecture */
00031     bfd_mach_iq10,          /* machine */
00032     "iq2000",               /* architecture name */
00033     "iq10",                 /* printable name */
00034     3,                      /* section align power */
00035     FALSE,                  /* the default ? */
00036     bfd_default_compatible, /* architecture comparison fn */
00037     bfd_default_scan,              /* string to architecture convert fn */
00038     NULL                    /* next in list */
00039   }
00040 };
00041 
00042 const bfd_arch_info_type bfd_iq2000_arch =
00043 {
00044   32,                       /* bits per word */
00045   32,                       /* bits per address */
00046   8,                        /* bits per byte */
00047   bfd_arch_iq2000,          /* architecture */
00048   bfd_mach_iq2000,          /* machine */
00049   "iq2000",                 /* architecture name */
00050   "iq2000",                 /* printable name */
00051   3,                        /* section align power */
00052   TRUE,                            /* the default ? */
00053   bfd_default_compatible,   /* architecture comparison fn */
00054   bfd_default_scan,         /* string to architecture convert fn */
00055   &arch_info_struct[0],            /* next in list */
00056 };