184865Sobrien/* BFD support for the ia64 architecture.
2218822Sdim   Copyright 1998, 1999, 2000, 2002, 2007 Free Software Foundation, Inc.
384865Sobrien   Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
484865Sobrien
584865SobrienThis file is part of BFD, the Binary File Descriptor library.
684865Sobrien
784865SobrienThis program is free software; you can redistribute it and/or modify
884865Sobrienit under the terms of the GNU General Public License as published by
984865Sobrienthe Free Software Foundation; either version 2 of the License, or
1084865Sobrien(at your option) any later version.
1184865Sobrien
1284865SobrienThis program is distributed in the hope that it will be useful,
1384865Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1484865SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1584865SobrienGNU General Public License for more details.
1684865Sobrien
1784865SobrienYou should have received a copy of the GNU General Public License
1884865Sobrienalong with this program; if not, write to the Free Software
19218822SdimFoundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
2084865Sobrien
21218822Sdim#include "sysdep.h"
2284865Sobrien#include "bfd.h"
2384865Sobrien#include "libbfd.h"
2484865Sobrien
2584865Sobrienconst bfd_arch_info_type bfd_ia64_elf32_arch =
2684865Sobrien  {
2784865Sobrien    64,	/* 64 bits in a word */
2884865Sobrien    32,	/* 32 bits in an address */
2984865Sobrien    8,	/* 8 bits in a byte */
3084865Sobrien    bfd_arch_ia64,
3184865Sobrien    bfd_mach_ia64_elf32,
3284865Sobrien    "ia64",
3384865Sobrien    "ia64-elf32",
3484865Sobrien    3,	/* log2 of section alignment */
35130561Sobrien    TRUE, /* the one and only */
3684865Sobrien    bfd_default_compatible,
3784865Sobrien    bfd_default_scan ,
3884865Sobrien    0,
3984865Sobrien  };
4084865Sobrien
4184865Sobrienconst bfd_arch_info_type bfd_ia64_arch =
4284865Sobrien  {
4384865Sobrien    64,	/* 64 bits in a word */
4484865Sobrien    64,	/* 64 bits in an address */
4584865Sobrien    8,	/* 8 bits in a byte */
4684865Sobrien    bfd_arch_ia64,
4784865Sobrien    bfd_mach_ia64_elf64,
4884865Sobrien    "ia64",
4984865Sobrien    "ia64-elf64",
5084865Sobrien    3,	/* log2 of section alignment */
51130561Sobrien    TRUE, /* the one and only */
5284865Sobrien    bfd_default_compatible,
5384865Sobrien    bfd_default_scan ,
5484865Sobrien    &bfd_ia64_elf32_arch,
5584865Sobrien  };
5684865Sobrien
5784865Sobrien#include "cpu-ia64-opc.c"
58