12a6b7db3Sskrll /* BFD support for the ia64 architecture. 2*cb63e24eSchristos Copyright (C) 1998-2024 Free Software Foundation, Inc. 32a6b7db3Sskrll Contributed by David Mosberger-Tang <davidm@hpl.hp.com> 42a6b7db3Sskrll 52a6b7db3Sskrll This file is part of BFD, the Binary File Descriptor library. 62a6b7db3Sskrll 72a6b7db3Sskrll This program is free software; you can redistribute it and/or modify 82a6b7db3Sskrll it under the terms of the GNU General Public License as published by 92a6b7db3Sskrll the Free Software Foundation; either version 3 of the License, or 102a6b7db3Sskrll (at your option) any later version. 112a6b7db3Sskrll 122a6b7db3Sskrll This program is distributed in the hope that it will be useful, 132a6b7db3Sskrll but WITHOUT ANY WARRANTY; without even the implied warranty of 142a6b7db3Sskrll MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 152a6b7db3Sskrll GNU General Public License for more details. 162a6b7db3Sskrll 172a6b7db3Sskrll You should have received a copy of the GNU General Public License 182a6b7db3Sskrll along with this program; if not, write to the Free Software 192a6b7db3Sskrll Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 202a6b7db3Sskrll MA 02110-1301, USA. */ 212a6b7db3Sskrll 222a6b7db3Sskrll #include "sysdep.h" 232a6b7db3Sskrll #include "bfd.h" 242a6b7db3Sskrll #include "libbfd.h" 252a6b7db3Sskrll 266f4ced0bSchristos #define N(BITS_ADDR, NUMBER, PRINT, DEFAULT, NEXT) \ 276f4ced0bSchristos { \ 286f4ced0bSchristos 64, /* Bits in a word. */ \ 296f4ced0bSchristos BITS_ADDR, /* Bits in an address. */ \ 306f4ced0bSchristos 8, /* Bits in a byte. */ \ 316f4ced0bSchristos bfd_arch_ia64, \ 326f4ced0bSchristos NUMBER, \ 336f4ced0bSchristos "ia64", \ 346f4ced0bSchristos PRINT, \ 356f4ced0bSchristos 3, /* Section alignment power. */ \ 366f4ced0bSchristos DEFAULT, \ 376f4ced0bSchristos bfd_default_compatible, \ 386f4ced0bSchristos bfd_default_scan, \ 396f4ced0bSchristos bfd_arch_default_fill, \ 406f4ced0bSchristos NEXT, \ 416f4ced0bSchristos 0 /* Maximum offset of a reloc from the start of an insn. */ \ 426f4ced0bSchristos } 436f4ced0bSchristos 442a6b7db3Sskrll const bfd_arch_info_type bfd_ia64_elf32_arch = 454f645668Schristos N (32, bfd_mach_ia64_elf32, "ia64-elf32", false, NULL); 462a6b7db3Sskrll 472a6b7db3Sskrll const bfd_arch_info_type bfd_ia64_arch = 484f645668Schristos N (64, bfd_mach_ia64_elf64, "ia64-elf64", true, &bfd_ia64_elf32_arch); 492a6b7db3Sskrll 502a6b7db3Sskrll #include "cpu-ia64-opc.c" 51