Back to index

cell-binutils  2.17cvs20070401
cpu-d10v.c
Go to the documentation of this file.
00001 /* BFD support for the D10V processor
00002    Copyright 1996, 1999, 2000, 2002, 2005 Free Software Foundation, Inc.
00003    Contributed by Martin Hunt (hunt@cygnus.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,
00020    MA 02110-1301, USA.  */
00021 
00022 #include "bfd.h"
00023 #include "sysdep.h"
00024 #include "libbfd.h"
00025 
00026 static const bfd_arch_info_type d10v_ts3_info =
00027 {
00028   16,  /* 16 bits in a word.  */
00029   16,  /* 16 bits in an address.  */
00030   8,   /* 8 bits in a byte.  */
00031   bfd_arch_d10v,
00032   bfd_mach_d10v_ts3,
00033   "d10v",
00034   "d10v:ts3",
00035   4,   /* Section alignment power.  */
00036   FALSE,
00037   bfd_default_compatible,
00038   bfd_default_scan,
00039   0,
00040 };
00041 
00042 static const bfd_arch_info_type d10v_ts2_info =
00043 {
00044   16,  /* 16 bits in a word.  */
00045   16,  /* 16 bits in an address.  */
00046   8,   /* 8 bits in a byte.  */
00047   bfd_arch_d10v,
00048   bfd_mach_d10v_ts2,
00049   "d10v",
00050   "d10v:ts2",
00051   4,   /* Section alignment power.  */
00052   FALSE,
00053   bfd_default_compatible,
00054   bfd_default_scan,
00055   & d10v_ts3_info,
00056 };
00057 
00058 const bfd_arch_info_type bfd_d10v_arch =
00059 {
00060   16,  /* 16 bits in a word.  */
00061   16,  /* 16 bits in an address.  */
00062   8,   /* 8 bits in a byte.  */
00063   bfd_arch_d10v,
00064   bfd_mach_d10v,
00065   "d10v",
00066   "d10v",
00067   4,   /* Section alignment power.  */
00068   TRUE,
00069   bfd_default_compatible,
00070   bfd_default_scan,
00071   & d10v_ts2_info,
00072 };