Back to index

cell-binutils  2.17cvs20070401
cpu-mt.c
Go to the documentation of this file.
00001 /* BFD support for the Morpho Technologies MT processor.
00002    Copyright (C) 2001, 2002, 2005 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00019 
00020 #include "bfd.h"
00021 #include "sysdep.h"
00022 #include "libbfd.h"
00023 
00024 const bfd_arch_info_type arch_info_struct[] =
00025 {
00026 {
00027   32,                       /* Bits per word - not really true.  */
00028   32,                       /* Bits per address.  */
00029   8,                        /* Bits per byte.  */
00030   bfd_arch_mt,                     /* Architecture.  */
00031   bfd_mach_mrisc2,          /* Machine.  */
00032   "mt",                            /* Architecture name.  */
00033   "ms1-003",                /* Printable name.  */
00034   1,                        /* Section align power.  */
00035   FALSE,                     /* The default ?  */
00036   bfd_default_compatible,   /* Architecture comparison fn.  */
00037   bfd_default_scan,         /* String to architecture convert fn.  */
00038   &arch_info_struct[1]          /* Next in list.  */
00039 },
00040 {
00041   32,                       /* Bits per word - not really true.  */
00042   32,                       /* Bits per address.  */
00043   8,                        /* Bits per byte.  */
00044   bfd_arch_mt,                     /* Architecture.  */
00045   bfd_mach_ms2,                     /* Machine.  */
00046   "mt",                            /* Architecture name.  */
00047   "ms2",                    /* Printable name.  */
00048   1,                        /* Section align power.  */
00049   FALSE,                     /* The default ?  */
00050   bfd_default_compatible,   /* Architecture comparison fn.  */
00051   bfd_default_scan,         /* String to architecture convert fn.  */
00052   NULL                      /* Next in list.  */
00053 },
00054 };
00055 
00056 const bfd_arch_info_type bfd_mt_arch =
00057 {
00058   32,                       /* Bits per word - not really true.  */
00059   32,                       /* Bits per address.  */
00060   8,                        /* Bits per byte.  */
00061   bfd_arch_mt,                     /* Architecture.  */
00062   bfd_mach_ms1,                    /* Machine.  */
00063   "mt",                            /* Architecture name.  */
00064   "ms1",                    /* Printable name.  */
00065   1,                        /* Section align power.  */
00066   TRUE,                            /* The default ?  */
00067   bfd_default_compatible,   /* Architecture comparison fn.  */
00068   bfd_default_scan,         /* String to architecture convert fn.  */
00069   &arch_info_struct[0]             /* Next in list.  */
00070 };
00071