xref: /netbsd-src/external/gpl3/binutils/dist/bfd/cpu-microblaze.c (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
131799520Schristos /* BFD Xilinx MicroBlaze architecture definition
231799520Schristos 
3*cb63e24eSchristos    Copyright (C) 2009-2024 Free Software Foundation, Inc.
431799520Schristos 
531799520Schristos    This file is part of BFD, the Binary File Descriptor library.
631799520Schristos 
731799520Schristos    This program is free software; you can redistribute it and/or modify
831799520Schristos    it under the terms of the GNU General Public License as published by
931799520Schristos    the Free Software Foundation; either version 3 of the License, or
1031799520Schristos    (at your option) any later version.
1131799520Schristos 
1231799520Schristos    This program is distributed in the hope that it will be useful,
1331799520Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1431799520Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1531799520Schristos    GNU General Public License for more details.
1631799520Schristos 
1731799520Schristos    You should have received a copy of the GNU General Public License
1831799520Schristos    along with this program; if not, write to the Free Software
1931799520Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
2031799520Schristos    MA 02110-1301, USA.  */
2131799520Schristos 
2231799520Schristos #include "sysdep.h"
23883529b6Schristos #include "bfd.h"
2431799520Schristos #include "libbfd.h"
2531799520Schristos 
2631799520Schristos const bfd_arch_info_type bfd_microblaze_arch =
2731799520Schristos {
286f4ced0bSchristos   32,				/* Bits in a word.  */
296f4ced0bSchristos   32,				/* Bits in an address.  */
306f4ced0bSchristos   8,				/* Bits in a byte.  */
316f4ced0bSchristos   bfd_arch_microblaze,		/* Architecture number.  */
3231799520Schristos   0,				/* Machine number - 0 for now.  */
3331799520Schristos   "microblaze",			/* Architecture name.  */
3431799520Schristos   "MicroBlaze",			/* Printable name.  */
3531799520Schristos   3,				/* Section align power.  */
364f645668Schristos   true,				/* Is this the default architecture ?  */
3731799520Schristos   bfd_default_compatible,	/* Architecture comparison function.  */
3831799520Schristos   bfd_default_scan,		/* String to architecture conversion.  */
39883529b6Schristos   bfd_arch_default_fill,	/* Default fill.  */
406f4ced0bSchristos   NULL,				/* Next in list.  */
416f4ced0bSchristos   0 /* Maximum offset of a reloc from the start of an insn.  */
4231799520Schristos };
43