Back to index

cell-binutils  2.17cvs20070401
cpu-v850.c
Go to the documentation of this file.
00001 /* BFD support for the NEC V850 processor
00002    Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003
00003    Free Software Foundation, Inc.
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 #include "safe-ctype.h"
00025 
00026 #define N(number, print, default, next)  \
00027 {  32, 32, 8, bfd_arch_v850, number, "v850", print, 2, default, \
00028      bfd_default_compatible, bfd_default_scan, next }
00029 
00030 #define NEXT NULL
00031 
00032 static const bfd_arch_info_type arch_info_struct[] =
00033 {
00034   N (bfd_mach_v850e1, "v850e1", FALSE, & arch_info_struct[1]),
00035   N (bfd_mach_v850e,  "v850e",  FALSE, NULL)
00036 };
00037 
00038 #undef  NEXT
00039 #define NEXT & arch_info_struct[0]
00040 
00041 const bfd_arch_info_type bfd_v850_arch =
00042   N (bfd_mach_v850, "v850", TRUE, NEXT);