1377e23a2Schristos /* BFD support for the NEC V850 processor 2*1424dfb3Schristos Copyright (C) 1996-2020 Free Software Foundation, Inc. 3377e23a2Schristos 4377e23a2Schristos This file is part of BFD, the Binary File Descriptor library. 5377e23a2Schristos 6377e23a2Schristos This program is free software; you can redistribute it and/or modify 7377e23a2Schristos it under the terms of the GNU General Public License as published by 8377e23a2Schristos the Free Software Foundation; either version 3 of the License, or 9377e23a2Schristos (at your option) any later version. 10377e23a2Schristos 11377e23a2Schristos This program is distributed in the hope that it will be useful, 12377e23a2Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13377e23a2Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14377e23a2Schristos GNU General Public License for more details. 15377e23a2Schristos 16377e23a2Schristos You should have received a copy of the GNU General Public License 17377e23a2Schristos along with this program; if not, write to the Free Software 18377e23a2Schristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19377e23a2Schristos MA 02110-1301, USA. */ 20377e23a2Schristos 21377e23a2Schristos #include "sysdep.h" 22377e23a2Schristos #include "bfd.h" 23377e23a2Schristos #include "libbfd.h" 24377e23a2Schristos #include "safe-ctype.h" 25377e23a2Schristos 26377e23a2Schristos #define N(number, print, default, next) \ 27c03b94e9Schristos { 32, 32, 8, bfd_arch_v850, number, "v850", print ":old-gcc-abi", 2, default, \ 28*1424dfb3Schristos bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next, 0 } 29377e23a2Schristos 30*1424dfb3Schristos static const bfd_arch_info_type arch_info_struct[6] = 31377e23a2Schristos { 32*1424dfb3Schristos N (bfd_mach_v850e3v5, "v850e3v5", FALSE, arch_info_struct + 1), 33*1424dfb3Schristos N (bfd_mach_v850e3v5, "v850e2v4", FALSE, arch_info_struct + 2), 34*1424dfb3Schristos N (bfd_mach_v850e2v3, "v850e2v3", FALSE, arch_info_struct + 3), 35*1424dfb3Schristos N (bfd_mach_v850e2, "v850e2", FALSE, arch_info_struct + 4), 36*1424dfb3Schristos N (bfd_mach_v850e1, "v850e1", FALSE, arch_info_struct + 5), 37377e23a2Schristos N (bfd_mach_v850e, "v850e", FALSE, NULL) 38377e23a2Schristos }; 39377e23a2Schristos 40377e23a2Schristos const bfd_arch_info_type bfd_v850_arch = 41*1424dfb3Schristos N (bfd_mach_v850, "v850", TRUE, arch_info_struct + 0); 42