15796c8dcSSimon Schubert /* BFD support for the Intel L1OM architecture. 25796c8dcSSimon Schubert Copyright 2009 35796c8dcSSimon Schubert Free Software Foundation, Inc. 45796c8dcSSimon Schubert 55796c8dcSSimon Schubert This file is part of BFD, the Binary File Descriptor library. 65796c8dcSSimon Schubert 75796c8dcSSimon Schubert This program is free software; you can redistribute it and/or modify 85796c8dcSSimon Schubert it under the terms of the GNU General Public License as published by 95796c8dcSSimon Schubert the Free Software Foundation; either version 3 of the License, or 105796c8dcSSimon Schubert (at your option) any later version. 115796c8dcSSimon Schubert 125796c8dcSSimon Schubert This program is distributed in the hope that it will be useful, 135796c8dcSSimon Schubert but WITHOUT ANY WARRANTY; without even the implied warranty of 145796c8dcSSimon Schubert MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 155796c8dcSSimon Schubert GNU General Public License for more details. 165796c8dcSSimon Schubert 175796c8dcSSimon Schubert You should have received a copy of the GNU General Public License 185796c8dcSSimon Schubert along with this program; if not, write to the Free Software 195796c8dcSSimon Schubert Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 205796c8dcSSimon Schubert MA 02110-1301, USA. */ 215796c8dcSSimon Schubert 225796c8dcSSimon Schubert #include "sysdep.h" 235796c8dcSSimon Schubert #include "bfd.h" 245796c8dcSSimon Schubert #include "libbfd.h" 255796c8dcSSimon Schubert 26*ef5ccd6cSJohn Marino extern void * bfd_arch_i386_short_nop_fill (bfd_size_type, bfd_boolean, 27*ef5ccd6cSJohn Marino bfd_boolean); 28*ef5ccd6cSJohn Marino 295796c8dcSSimon Schubert static const bfd_arch_info_type bfd_l1om_arch_intel_syntax = 305796c8dcSSimon Schubert { 315796c8dcSSimon Schubert 64, /* 64 bits in a word */ 325796c8dcSSimon Schubert 64, /* 64 bits in an address */ 335796c8dcSSimon Schubert 8, /* 8 bits in a byte */ 345796c8dcSSimon Schubert bfd_arch_l1om, 355796c8dcSSimon Schubert bfd_mach_l1om_intel_syntax, 365796c8dcSSimon Schubert "l1om:intel", 375796c8dcSSimon Schubert "l1om:intel", 385796c8dcSSimon Schubert 3, 395796c8dcSSimon Schubert TRUE, 405796c8dcSSimon Schubert bfd_default_compatible, 415796c8dcSSimon Schubert bfd_default_scan, 42*ef5ccd6cSJohn Marino bfd_arch_i386_short_nop_fill, 435796c8dcSSimon Schubert 0 445796c8dcSSimon Schubert }; 455796c8dcSSimon Schubert 465796c8dcSSimon Schubert const bfd_arch_info_type bfd_l1om_arch = 475796c8dcSSimon Schubert { 485796c8dcSSimon Schubert 64, /* 64 bits in a word */ 495796c8dcSSimon Schubert 64, /* 64 bits in an address */ 505796c8dcSSimon Schubert 8, /* 8 bits in a byte */ 515796c8dcSSimon Schubert bfd_arch_l1om, 525796c8dcSSimon Schubert bfd_mach_l1om, 535796c8dcSSimon Schubert "l1om", 545796c8dcSSimon Schubert "l1om", 555796c8dcSSimon Schubert 3, 565796c8dcSSimon Schubert TRUE, 575796c8dcSSimon Schubert bfd_default_compatible, 585796c8dcSSimon Schubert bfd_default_scan, 59*ef5ccd6cSJohn Marino bfd_arch_i386_short_nop_fill, 605796c8dcSSimon Schubert &bfd_l1om_arch_intel_syntax 615796c8dcSSimon Schubert }; 62