xref: /netbsd-src/external/gpl3/binutils.old/dist/bfd/cpu-s12z.c (revision c42dbd0ed2e61fe6eda8590caa852ccf34719964)
1e6c7e151Schristos /* BFD support for the Freescale 9S12Z processor
2*c42dbd0eSchristos    Copyright (C) 2008-2022 Free Software Foundation, Inc.
3e6c7e151Schristos 
4e6c7e151Schristos    This file is part of BFD, the Binary File Descriptor library.
5e6c7e151Schristos 
6e6c7e151Schristos    This program is free software; you can redistribute it and/or modify
7e6c7e151Schristos    it under the terms of the GNU General Public License as published by
8e6c7e151Schristos    the Free Software Foundation; either version 3 of the License, or
9e6c7e151Schristos    (at your option) any later version.
10e6c7e151Schristos 
11e6c7e151Schristos    This program is distributed in the hope that it will be useful,
12e6c7e151Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
13e6c7e151Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14e6c7e151Schristos    GNU General Public License for more details.
15e6c7e151Schristos 
16e6c7e151Schristos    You should have received a copy of the GNU General Public License
17e6c7e151Schristos    along with this program; if not, write to the Free Software
18e6c7e151Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19e6c7e151Schristos    MA 02110-1301, USA.  */
20e6c7e151Schristos 
21e6c7e151Schristos #include "sysdep.h"
22e6c7e151Schristos #include "bfd.h"
23e6c7e151Schristos #include "libbfd.h"
24e6c7e151Schristos 
25e6c7e151Schristos const bfd_arch_info_type bfd_s12z_arch =
26e6c7e151Schristos {
27867d70fcSchristos   16,	/* Bits in a word.  */
28867d70fcSchristos   24,	/* Bits in an address.  */
29867d70fcSchristos   8,	/* Bits in a byte.  */
30e6c7e151Schristos   bfd_arch_s12z,
31e6c7e151Schristos   0,
32e6c7e151Schristos   "s12z",
33e6c7e151Schristos   "s12z",
34e6c7e151Schristos   4,    /* Section alignment power.  */
35*c42dbd0eSchristos   true,
36e6c7e151Schristos   bfd_default_compatible,
37e6c7e151Schristos   bfd_default_scan,
38e6c7e151Schristos   bfd_arch_default_fill,
39867d70fcSchristos   NULL,
40867d70fcSchristos   0    /* Maximum offset of a reloc from the start of an insn.  */
41e6c7e151Schristos };
42e6c7e151Schristos 
43