sim: h8300: switch to common sim-resume
[deliverable/binutils-gdb.git] / bfd / cpu-v850.c
CommitLineData
252b5132 1/* BFD support for the NEC V850 processor
b90efa5b 2 Copyright (C) 1996-2015 Free Software Foundation, Inc.
252b5132 3
86aba9db 4 This file is part of BFD, the Binary File Descriptor library.
252b5132 5
86aba9db
NC
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
cd123cb7 8 the Free Software Foundation; either version 3 of the License, or
86aba9db 9 (at your option) any later version.
252b5132 10
86aba9db
NC
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
252b5132 15
86aba9db
NC
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
cd123cb7
NC
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
252b5132 20
252b5132 21#include "sysdep.h"
3db64b00 22#include "bfd.h"
252b5132 23#include "libbfd.h"
3882b010 24#include "safe-ctype.h"
252b5132 25
252b5132 26#define N(number, print, default, next) \
de863c74 27{ 32, 32, 8, bfd_arch_v850, number, "v850", print " (using old gcc ABI)", 2, default, \
b7761f11 28 bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next }
252b5132
RH
29
30#define NEXT NULL
31
71f6b586 32static const bfd_arch_info_type arch_info_struct[] =
252b5132 33{
78c8d46c
NC
34 N (bfd_mach_v850e3v5, "v850e3v5", FALSE, & arch_info_struct[1]),
35 N (bfd_mach_v850e3v5, "v850e2v4", FALSE, & arch_info_struct[2]),
36 N (bfd_mach_v850e2v3, "v850e2v3", FALSE, & arch_info_struct[3]),
37 N (bfd_mach_v850e2, "v850e2", FALSE, & arch_info_struct[4]),
38 N (bfd_mach_v850e1, "v850e1", FALSE, & arch_info_struct[5]),
1cd986c5 39 N (bfd_mach_v850e, "v850e", FALSE, NULL)
252b5132
RH
40};
41
e12dd2ea
NC
42#undef NEXT
43#define NEXT & arch_info_struct[0]
252b5132
RH
44
45const bfd_arch_info_type bfd_v850_arch =
b34976b6 46 N (bfd_mach_v850, "v850", TRUE, NEXT);
This page took 0.875088 seconds and 4 git commands to generate.