xref: /dflybsd-src/contrib/binutils-2.34/bfd/cpu-l1om.c (revision b52ef7118d1621abed722c5bbbd542210290ecef)
1*fae548d3Szrj /* BFD support for the Intel L1OM architecture.
2*fae548d3Szrj    Copyright (C) 2009-2020 Free Software Foundation, Inc.
3*fae548d3Szrj 
4*fae548d3Szrj    This file is part of BFD, the Binary File Descriptor library.
5*fae548d3Szrj 
6*fae548d3Szrj    This program is free software; you can redistribute it and/or modify
7*fae548d3Szrj    it under the terms of the GNU General Public License as published by
8*fae548d3Szrj    the Free Software Foundation; either version 3 of the License, or
9*fae548d3Szrj    (at your option) any later version.
10*fae548d3Szrj 
11*fae548d3Szrj    This program is distributed in the hope that it will be useful,
12*fae548d3Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
13*fae548d3Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*fae548d3Szrj    GNU General Public License for more details.
15*fae548d3Szrj 
16*fae548d3Szrj    You should have received a copy of the GNU General Public License
17*fae548d3Szrj    along with this program; if not, write to the Free Software
18*fae548d3Szrj    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19*fae548d3Szrj    MA 02110-1301, USA.  */
20*fae548d3Szrj 
21*fae548d3Szrj #include "sysdep.h"
22*fae548d3Szrj #include "bfd.h"
23*fae548d3Szrj #include "libbfd.h"
24*fae548d3Szrj 
25*fae548d3Szrj extern void * bfd_arch_i386_short_nop_fill (bfd_size_type, bfd_boolean,
26*fae548d3Szrj 					    bfd_boolean);
27*fae548d3Szrj 
28*fae548d3Szrj #define N(number, name, print, next)			     \
29*fae548d3Szrj   { 64, 64, 8, bfd_arch_l1om, number, name, print, 3, TRUE, \
30*fae548d3Szrj     bfd_default_compatible, bfd_default_scan,		     \
31*fae548d3Szrj     bfd_arch_i386_short_nop_fill, next, 0 }
32*fae548d3Szrj 
33*fae548d3Szrj static const bfd_arch_info_type bfd_l1om_arch_intel_syntax =
34*fae548d3Szrj   N (bfd_mach_l1om_intel_syntax, "l1om:intel", "l1om:intel", NULL);
35*fae548d3Szrj 
36*fae548d3Szrj const bfd_arch_info_type bfd_l1om_arch =
37*fae548d3Szrj   N (bfd_mach_l1om, "l1om", "l1om", &bfd_l1om_arch_intel_syntax);
38