00001 /* BFD support for the M32R processor. 00002 Copyright 1996, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. 00003 00004 This file is part of BFD, the Binary File Descriptor library. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 00019 00020 #include "bfd.h" 00021 #include "sysdep.h" 00022 #include "libbfd.h" 00023 00024 #define N(number, print, default, next) \ 00025 { 32, 32, 8, bfd_arch_m32r, number, "m32r", print, 4, default, \ 00026 bfd_default_compatible, bfd_default_scan, next } 00027 00028 #define M32R2_NEXT & arch_info_struct [1] 00029 #define NEXT & arch_info_struct [0] 00030 00031 static const bfd_arch_info_type arch_info_struct[] = 00032 { 00033 N (bfd_mach_m32rx, "m32rx", FALSE, M32R2_NEXT) , 00034 N (bfd_mach_m32r2, "m32r2", FALSE, NULL) 00035 }; 00036 00037 const bfd_arch_info_type bfd_m32r_arch = 00038 N (bfd_mach_m32r, "m32r", TRUE, NEXT);
1.5.6