Back to index

cell-binutils  2.17cvs20070401
cpu-ip2k.c
Go to the documentation of this file.
00001 /* BFD support for the Scenix IP2xxx processor.
00002    Copyright 2000, 2002 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 const bfd_arch_info_type bfd_ip2k_nonext_arch =
00025 {
00026   32,                       /* Bits per word - not really true.  */
00027   16,                       /* Bits per address.  */
00028   8,                        /* Bits per byte.  */
00029   bfd_arch_ip2k,            /* Architecture.  */
00030   bfd_mach_ip2022,          /* Machine.  */
00031   "ip2k",                   /* Architecture name.  */
00032   "ip2022",                 /* Machine name.  */
00033   1,                        /* Section align power.  */
00034   FALSE,                     /* The default ?  */
00035   bfd_default_compatible,   /* Architecture comparison fn.  */
00036   bfd_default_scan,         /* String to architecture convert fn.  */
00037   NULL                      /* Next in list.  */
00038 };
00039 
00040 const bfd_arch_info_type bfd_ip2k_arch =
00041 {
00042   32,                       /* Bits per word - not really true.  */
00043   16,                       /* Bits per address.  */
00044   8,                        /* Bits per byte.  */
00045   bfd_arch_ip2k,            /* Architecture.  */
00046   bfd_mach_ip2022ext,              /* Machine.  */
00047   "ip2k",                   /* Architecture name.  */
00048   "ip2022ext",                     /* Machine name.  */
00049   1,                        /* Section align power.  */
00050   TRUE,                            /* The default ?  */
00051   bfd_default_compatible,   /* Architecture comparison fn.  */
00052   bfd_default_scan,         /* String to architecture convert fn.  */
00053   & bfd_ip2k_nonext_arch    /* Next in list.  */
00054 };