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