Back to index

cell-binutils  2.17cvs20070401
cpu-mmix.c
Go to the documentation of this file.
00001 /* BFD library support routines for MMIX.
00002    Copyright 2001, 2002 Free Software Foundation, Inc.
00003    Contributed by Hans-Peter Nilsson (hp@bitrange.com)
00004 
00005 This file is part of BFD, the Binary File Descriptor library.
00006 
00007 This program is free software; you can redistribute it and/or modify
00008 it under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or
00010 (at your option) any later version.
00011 
00012 This program is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with this program; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00020 
00021 #include "bfd.h"
00022 #include "sysdep.h"
00023 #include "libbfd.h"
00024 
00025 const bfd_arch_info_type
00026 bfd_mmix_arch =
00027  {
00028    64,                      /* 64 bits in a word.  */
00029    64,                      /* 64 bits in an address.  */
00030    8,                       /* 8 bits in a byte.  */
00031    bfd_arch_mmix,           /* Architecture.  */
00032    0,                       /* Machine number - 0 for now.  */
00033    /* Sorry, these are by custom and creeping assumption lower-case.  */
00034    "mmix",                  /* Architecture name.  */
00035    "mmix",                  /* Printable name.  */
00036    3,                       /* Section align power.  */
00037    TRUE,                    /* This is the default architecture.  */
00038    bfd_default_compatible,  /* Architecture comparison function.  */
00039    bfd_default_scan,        /* String to architecture conversion.  */
00040    NULL                            /* Next in list.  */
00041 };