1262395Sbapt/* BFD support for the M32R processor. 2262395Sbapt Copyright (C) 1996-2022 Free Software Foundation, Inc. 3262395Sbapt 4262395Sbapt This file is part of BFD, the Binary File Descriptor library. 5262395Sbapt 6262395Sbapt This program is free software; you can redistribute it and/or modify 7262395Sbapt it under the terms of the GNU General Public License as published by 8262395Sbapt the Free Software Foundation; either version 3 of the License, or 9262395Sbapt (at your option) any later version. 10262395Sbapt 11262395Sbapt This program is distributed in the hope that it will be useful, 12262395Sbapt but WITHOUT ANY WARRANTY; without even the implied warranty of 13262395Sbapt MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14262395Sbapt GNU General Public License for more details. 15262395Sbapt 16262395Sbapt You should have received a copy of the GNU General Public License 17262395Sbapt along with this program; if not, write to the Free Software 18262395Sbapt Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19262395Sbapt MA 02110-1301, USA. */ 20262395Sbapt 21262395Sbapt#include "sysdep.h" 22262395Sbapt#include "bfd.h" 23262395Sbapt#include "libbfd.h" 24262395Sbapt 25262395Sbapt#define N(number, print, default, next) \ 26262395Sbapt{ 32, 32, 8, bfd_arch_m32r, number, "m32r", print, 4, default, \ 27262395Sbapt bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next, 0 } 28262395Sbapt 29262395Sbapt#define M32R2_NEXT & arch_info_struct [1] 30262395Sbapt#define NEXT & arch_info_struct [0] 31262395Sbapt 32262395Sbaptstatic const bfd_arch_info_type arch_info_struct[] = 33262395Sbapt{ 34268896Sbapt N (bfd_mach_m32rx, "m32rx", false, M32R2_NEXT) , 35262395Sbapt N (bfd_mach_m32r2, "m32r2", false, NULL) 36262395Sbapt}; 37262395Sbapt 38262395Sbaptconst bfd_arch_info_type bfd_m32r_arch = 39262395Sbapt N (bfd_mach_m32r, "m32r", true, NEXT); 40262395Sbapt