xref: /netbsd-src/external/gpl3/binutils/dist/bfd/cpu-bfin.c (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
12a6b7db3Sskrll /* BFD Support for the ADI Blackfin processor.
22a6b7db3Sskrll 
3*cb63e24eSchristos    Copyright (C) 2005-2024 Free Software Foundation, Inc.
42a6b7db3Sskrll 
52a6b7db3Sskrll    This file is part of BFD, the Binary File Descriptor library.
62a6b7db3Sskrll 
72a6b7db3Sskrll    This program is free software; you can redistribute it and/or modify
82a6b7db3Sskrll    it under the terms of the GNU General Public License as published by
92a6b7db3Sskrll    the Free Software Foundation; either version 3 of the License, or
102a6b7db3Sskrll    (at your option) any later version.
112a6b7db3Sskrll 
122a6b7db3Sskrll    This program is distributed in the hope that it will be useful,
132a6b7db3Sskrll    but WITHOUT ANY WARRANTY; without even the implied warranty of
142a6b7db3Sskrll    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
152a6b7db3Sskrll    GNU General Public License for more details.
162a6b7db3Sskrll 
172a6b7db3Sskrll    You should have received a copy of the GNU General Public License
182a6b7db3Sskrll    along with this program; if not, write to the Free Software
192a6b7db3Sskrll    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
202a6b7db3Sskrll    MA 02110-1301, USA.  */
212a6b7db3Sskrll 
222a6b7db3Sskrll #include "sysdep.h"
232a6b7db3Sskrll #include "bfd.h"
242a6b7db3Sskrll #include "libbfd.h"
252a6b7db3Sskrll 
262a6b7db3Sskrll const bfd_arch_info_type bfd_bfin_arch =
272a6b7db3Sskrll   {
282a6b7db3Sskrll     16,			/* Bits in a word.  */
292a6b7db3Sskrll     32,			/* Bits in an address.  */
302a6b7db3Sskrll     8,			/* Bits in a byte.  */
312a6b7db3Sskrll     bfd_arch_bfin,
322a6b7db3Sskrll     0,			/* Only one machine.  */
332a6b7db3Sskrll     "bfin",		/* Arch name.  */
342a6b7db3Sskrll     "bfin",		/* Arch printable name.  */
352a6b7db3Sskrll     4,			/* Section align power.  */
364f645668Schristos     true,		/* The one and only.  */
372a6b7db3Sskrll     bfd_default_compatible,
382a6b7db3Sskrll     bfd_default_scan,
39883529b6Schristos     bfd_arch_default_fill,
406f4ced0bSchristos     NULL,
416f4ced0bSchristos     0 /* Maximum offset of a reloc from the start of an insn.  */
422a6b7db3Sskrll   };
43