148596154Schristos /* BFD support for the Freescale XGATE processor 2*1424dfb3Schristos Copyright (C) 2010-2020 Free Software Foundation, Inc. 348596154Schristos 448596154Schristos This file is part of BFD, the Binary File Descriptor library. 548596154Schristos 648596154Schristos This program is free software; you can redistribute it and/or modify 748596154Schristos it under the terms of the GNU General Public License as published by 848596154Schristos the Free Software Foundation; either version 3 of the License, or 948596154Schristos (at your option) any later version. 1048596154Schristos 1148596154Schristos This program is distributed in the hope that it will be useful, 1248596154Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1348596154Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1448596154Schristos GNU General Public License for more details. 1548596154Schristos 1648596154Schristos You should have received a copy of the GNU General Public License 1748596154Schristos along with this program; if not, write to the Free Software 1848596154Schristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 1948596154Schristos MA 02110-1301, USA. */ 2048596154Schristos 2148596154Schristos #include "sysdep.h" 2248596154Schristos #include "bfd.h" 2348596154Schristos #include "libbfd.h" 2448596154Schristos 2548596154Schristos const bfd_arch_info_type bfd_xgate_arch = 2648596154Schristos { 27*1424dfb3Schristos 16, /* Bits in a word. */ 28*1424dfb3Schristos 32, /* Bits used as 16 bit address and PPAGE value. */ 29*1424dfb3Schristos 8, /* Bits in a byte. */ 3048596154Schristos bfd_arch_xgate, 3148596154Schristos bfd_mach_xgate, 3248596154Schristos "xgate", 3348596154Schristos "xgate", 3448596154Schristos 4, /* Section alignment power. */ 3548596154Schristos TRUE, 3648596154Schristos bfd_default_compatible, 3748596154Schristos bfd_default_scan, 3848596154Schristos bfd_arch_default_fill, 39*1424dfb3Schristos NULL, 40*1424dfb3Schristos 0 /* Maximum offset of a reloc from the start of an insn. */ 4148596154Schristos }; 42