readelf: Add option to display the names of sections referenced by symbols.
[binutils-gdb.git] / bfd / pei-ia64.c
bloba6578ab24e822e5e16ffe2fcd6e3a414e560a4e6
1 /* BFD back-end for HP/Intel IA-64 PE IMAGE COFF files.
2 Copyright (C) 1999-2023 Free Software Foundation, Inc.
3 Contributed by David Mosberger <davidm@hpl.hp.com>
5 This implementation only supports objcopy to ouput IA-64 PE IMAGE COFF
6 files.
8 This file is part of BFD, the Binary File Descriptor library.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
23 MA 02110-1301, USA. */
25 #include "sysdep.h"
26 #include "bfd.h"
28 #define TARGET_SYM ia64_pei_vec
29 #define TARGET_NAME "pei-ia64"
30 #define COFF_IMAGE_WITH_PE
31 #define COFF_WITH_PE
32 #define COFF_WITH_pep
33 #define PCRELOFFSET true
34 #define TARGET_UNDERSCORE '_'
35 /* Long section names not allowed in executable images, only object files. */
36 #define COFF_LONG_SECTION_NAMES 0
38 #include "coff-ia64.c"