1377e23a2Schristos /* BFD library support routines for MMIX. 2*1424dfb3Schristos Copyright (C) 2001-2020 Free Software Foundation, Inc. 3377e23a2Schristos Contributed by Hans-Peter Nilsson (hp@bitrange.com) 4377e23a2Schristos 5377e23a2Schristos This file is part of BFD, the Binary File Descriptor library. 6377e23a2Schristos 7377e23a2Schristos This program is free software; you can redistribute it and/or modify 8377e23a2Schristos it under the terms of the GNU General Public License as published by 9377e23a2Schristos the Free Software Foundation; either version 3 of the License, or 10377e23a2Schristos (at your option) any later version. 11377e23a2Schristos 12377e23a2Schristos This program is distributed in the hope that it will be useful, 13377e23a2Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 14377e23a2Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15377e23a2Schristos GNU General Public License for more details. 16377e23a2Schristos 17377e23a2Schristos You should have received a copy of the GNU General Public License 18377e23a2Schristos along with this program; if not, write to the Free Software 19377e23a2Schristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 20377e23a2Schristos MA 02110-1301, USA. */ 21377e23a2Schristos 22377e23a2Schristos #include "sysdep.h" 23377e23a2Schristos #include "bfd.h" 24377e23a2Schristos #include "libbfd.h" 25377e23a2Schristos 26377e23a2Schristos const bfd_arch_info_type 27377e23a2Schristos bfd_mmix_arch = 28377e23a2Schristos { 29*1424dfb3Schristos 64, /* Bits in a word. */ 30*1424dfb3Schristos 64, /* Bits in an address. */ 31*1424dfb3Schristos 8, /* Bits in a byte. */ 32*1424dfb3Schristos bfd_arch_mmix, /* Architecture number. */ 33377e23a2Schristos 0, /* Machine number - 0 for now. */ 34377e23a2Schristos /* Sorry, these are by custom and creeping assumption lower-case. */ 35377e23a2Schristos "mmix", /* Architecture name. */ 36377e23a2Schristos "mmix", /* Printable name. */ 37377e23a2Schristos 3, /* Section align power. */ 38377e23a2Schristos TRUE, /* This is the default architecture. */ 39377e23a2Schristos bfd_default_compatible, /* Architecture comparison function. */ 40377e23a2Schristos bfd_default_scan, /* String to architecture conversion. */ 4148596154Schristos bfd_arch_default_fill, /* Default fill. */ 42*1424dfb3Schristos NULL, /* Next in list. */ 43*1424dfb3Schristos 0 /* Maximum offset of a reloc from the start of an insn. */ 44377e23a2Schristos }; 45