xref: /netbsd-src/external/gpl3/binutils.old/dist/bfd/cpu-xstormy16.c (revision e992f068c547fd6e84b3f104dc2340adcc955732)
175fd0b74Schristos /* BFD support for the XSTORMY16 processor.
2*e992f068Schristos    Copyright (C) 2001-2022 Free Software Foundation, Inc.
375fd0b74Schristos 
475fd0b74Schristos    This file is part of BFD, the Binary File Descriptor library.
575fd0b74Schristos 
675fd0b74Schristos    This program is free software; you can redistribute it and/or modify
775fd0b74Schristos    it under the terms of the GNU General Public License as published by
875fd0b74Schristos    the Free Software Foundation; either version 3 of the License, or
975fd0b74Schristos    (at your option) any later version.
1075fd0b74Schristos 
1175fd0b74Schristos    This program is distributed in the hope that it will be useful,
1275fd0b74Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1375fd0b74Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1475fd0b74Schristos    GNU General Public License for more details.
1575fd0b74Schristos 
1675fd0b74Schristos    You should have received a copy of the GNU General Public License
1775fd0b74Schristos    along with this program; if not, write to the Free Software
1875fd0b74Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
1975fd0b74Schristos    MA 02110-1301, USA.  */
2075fd0b74Schristos 
2175fd0b74Schristos #include "sysdep.h"
2275fd0b74Schristos #include "bfd.h"
2375fd0b74Schristos #include "libbfd.h"
2475fd0b74Schristos 
2575fd0b74Schristos const bfd_arch_info_type bfd_xstormy16_arch =
2675fd0b74Schristos {
27012573ebSchristos   16,				/* Bits per word.  */
28012573ebSchristos   32,				/* Bits per address.  */
29012573ebSchristos   8,				/* Bits per byte.  */
30012573ebSchristos   bfd_arch_xstormy16,		/* Architecture.  */
31012573ebSchristos   bfd_mach_xstormy16,		/* Machine.  */
32012573ebSchristos   "xstormy16",			/* Architecture name.  */
33012573ebSchristos   "xstormy16",			/* Printable name.  */
34012573ebSchristos   2,				/* Section align power.  */
35*e992f068Schristos   true,				/* The default ?  */
36012573ebSchristos   bfd_default_compatible,	/* Architecture comparison fn.  */
37012573ebSchristos   bfd_default_scan,		/* String to architecture convert fn.  */
3875fd0b74Schristos   bfd_arch_default_fill,	/* Default fill.  */
39012573ebSchristos   NULL,				/* Next in list.  */
40012573ebSchristos   0 /* Maximum offset of a reloc from the start of an insn.  */
4175fd0b74Schristos };
42