xref: /openbsd-src/gnu/usr.bin/binutils/bfd/cpu-v850.c (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1f7cc78ecSespie /* BFD support for the NEC V850 processor
2*cf2f2c56Smiod    Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003
3*cf2f2c56Smiod    Free Software Foundation, Inc.
4f7cc78ecSespie 
5f7cc78ecSespie    This file is part of BFD, the Binary File Descriptor library.
6f7cc78ecSespie 
7f7cc78ecSespie    This program is free software; you can redistribute it and/or modify
8f7cc78ecSespie    it under the terms of the GNU General Public License as published by
9f7cc78ecSespie    the Free Software Foundation; either version 2 of the License, or
10f7cc78ecSespie    (at your option) any later version.
11f7cc78ecSespie 
12f7cc78ecSespie    This program is distributed in the hope that it will be useful,
13f7cc78ecSespie    but WITHOUT ANY WARRANTY; without even the implied warranty of
14f7cc78ecSespie    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15f7cc78ecSespie    GNU General Public License for more details.
16f7cc78ecSespie 
17f7cc78ecSespie    You should have received a copy of the GNU General Public License
18f7cc78ecSespie    along with this program; if not, write to the Free Software
19f7cc78ecSespie    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20f7cc78ecSespie 
21f7cc78ecSespie #include "bfd.h"
22f7cc78ecSespie #include "sysdep.h"
23f7cc78ecSespie #include "libbfd.h"
24d2201f2fSdrahn #include "safe-ctype.h"
25f7cc78ecSespie 
26f7cc78ecSespie #define N(number, print, default, next)  \
27f7cc78ecSespie {  32, 32, 8, bfd_arch_v850, number, "v850", print, 2, default, \
28d2201f2fSdrahn      bfd_default_compatible, bfd_default_scan, next }
29f7cc78ecSespie 
30f7cc78ecSespie #define NEXT NULL
31f7cc78ecSespie 
32f7cc78ecSespie static const bfd_arch_info_type arch_info_struct[] =
33f7cc78ecSespie {
34*cf2f2c56Smiod   N (bfd_mach_v850e1, "v850e1", FALSE, & arch_info_struct[1]),
35d2201f2fSdrahn   N (bfd_mach_v850e,  "v850e",  FALSE, NULL)
36f7cc78ecSespie };
37f7cc78ecSespie 
38f7cc78ecSespie #undef  NEXT
39f7cc78ecSespie #define NEXT & arch_info_struct[0]
40f7cc78ecSespie 
41f7cc78ecSespie const bfd_arch_info_type bfd_v850_arch =
42d2201f2fSdrahn   N (bfd_mach_v850, "v850", TRUE, NEXT);
43