1377e23a2Schristos /* BFD support for the M32R 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 25377e23a2Schristos #define N(number, print, default, next) \ 26377e23a2Schristos { 32, 32, 8, bfd_arch_m32r, number, "m32r", print, 4, default, \ 27*1424dfb3Schristos bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next, 0 } 28377e23a2Schristos 29377e23a2Schristos #define M32R2_NEXT & arch_info_struct [1] 30377e23a2Schristos #define NEXT & arch_info_struct [0] 31377e23a2Schristos 32377e23a2Schristos static const bfd_arch_info_type arch_info_struct[] = 33377e23a2Schristos { 34377e23a2Schristos N (bfd_mach_m32rx, "m32rx", FALSE, M32R2_NEXT) , 35377e23a2Schristos N (bfd_mach_m32r2, "m32r2", FALSE, NULL) 36377e23a2Schristos }; 37377e23a2Schristos 38377e23a2Schristos const bfd_arch_info_type bfd_m32r_arch = 39377e23a2Schristos N (bfd_mach_m32r, "m32r", TRUE, NEXT); 40