xref: /netbsd-src/external/gpl3/binutils.old/dist/bfd/pei-ia64.c (revision e992f068c547fd6e84b3f104dc2340adcc955732)
175fd0b74Schristos /* BFD back-end for HP/Intel IA-64 PE IMAGE COFF files.
2*e992f068Schristos    Copyright (C) 1999-2022 Free Software Foundation, Inc.
375fd0b74Schristos    Contributed by David Mosberger <davidm@hpl.hp.com>
475fd0b74Schristos 
575fd0b74Schristos    This implementation only supports objcopy to ouput IA-64 PE IMAGE COFF
675fd0b74Schristos    files.
775fd0b74Schristos 
875fd0b74Schristos    This file is part of BFD, the Binary File Descriptor library.
975fd0b74Schristos 
1075fd0b74Schristos    This program is free software; you can redistribute it and/or modify
1175fd0b74Schristos    it under the terms of the GNU General Public License as published by
1275fd0b74Schristos    the Free Software Foundation; either version 3 of the License, or
1375fd0b74Schristos    (at your option) any later version.
1475fd0b74Schristos 
1575fd0b74Schristos    This program is distributed in the hope that it will be useful,
1675fd0b74Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1775fd0b74Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1875fd0b74Schristos    GNU General Public License for more details.
1975fd0b74Schristos 
2075fd0b74Schristos    You should have received a copy of the GNU General Public License
2175fd0b74Schristos    along with this program; if not, write to the Free Software
2275fd0b74Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
2375fd0b74Schristos    MA 02110-1301, USA.  */
2475fd0b74Schristos 
2575fd0b74Schristos #include "sysdep.h"
2675fd0b74Schristos #include "bfd.h"
2775fd0b74Schristos 
2875fd0b74Schristos #define TARGET_SYM ia64_pei_vec
2975fd0b74Schristos #define TARGET_NAME "pei-ia64"
3075fd0b74Schristos #define COFF_IMAGE_WITH_PE
3175fd0b74Schristos #define COFF_WITH_PE
3275fd0b74Schristos #define COFF_WITH_pep
33*e992f068Schristos #define PCRELOFFSET true
3475fd0b74Schristos #define TARGET_UNDERSCORE '_'
3575fd0b74Schristos /* Long section names not allowed in executable images, only object files.  */
3675fd0b74Schristos #define COFF_LONG_SECTION_NAMES 0
3775fd0b74Schristos 
3875fd0b74Schristos #include "coff-ia64.c"
39