pei-x86_64.c revision 214571
1214571Sdim/* BFD back-end for Intel 386 PE IMAGE COFF files. 2214571Sdim Copyright 2006, 2007 Free Software Foundation, Inc. 3214571Sdim 4214571Sdim This file is part of BFD, the Binary File Descriptor library. 5214571Sdim 6214571Sdim This program is free software; you can redistribute it and/or modify 7214571Sdim it under the terms of the GNU General Public License as published by 8214571Sdim the Free Software Foundation; either version 2 of the License, or 9214571Sdim (at your option) any later version. 10214571Sdim 11214571Sdim This program is distributed in the hope that it will be useful, 12214571Sdim but WITHOUT ANY WARRANTY; without even the implied warranty of 13214571Sdim MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14214571Sdim GNU General Public License for more details. 15214571Sdim 16214571Sdim You should have received a copy of the GNU General Public License 17214571Sdim along with this program; if not, write to the Free Software 18214571Sdim Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 19214571Sdim 20214571Sdim Written by Kai Tietz, OneVision Software GmbH&CoKg. */ 21214571Sdim 22214571Sdim#include "sysdep.h" 23214571Sdim#include "bfd.h" 24214571Sdim 25214571Sdim#define TARGET_SYM x86_64pei_vec 26214571Sdim#define TARGET_NAME "pei-x86-64" 27214571Sdim#define COFF_IMAGE_WITH_PE 28214571Sdim#define COFF_WITH_PE 29214571Sdim#define COFF_WITH_pex64 30214571Sdim#define PCRELOFFSET TRUE 31214571Sdim#define TARGET_UNDERSCORE '_' 32214571Sdim#define COFF_LONG_SECTION_NAMES 33214571Sdim#define COFF_SUPPORT_GNU_LINKONCE 34214571Sdim#define COFF_LONG_FILENAMES 35214571Sdim 36214571Sdim#define COFF_SECTION_ALIGNMENT_ENTRIES \ 37214571Sdim{ COFF_SECTION_NAME_EXACT_MATCH (".bss"), \ 38214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ 39214571Sdim{ COFF_SECTION_NAME_EXACT_MATCH (".data"), \ 40214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ 41214571Sdim{ COFF_SECTION_NAME_EXACT_MATCH (".rdata"), \ 42214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ 43214571Sdim{ COFF_SECTION_NAME_EXACT_MATCH (".text"), \ 44214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ 45214571Sdim{ COFF_SECTION_NAME_PARTIAL_MATCH (".idata"), \ 46214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \ 47214571Sdim{ COFF_SECTION_NAME_EXACT_MATCH (".pdata"), \ 48214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \ 49214571Sdim{ COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \ 50214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \ 51214571Sdim{ COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi."), \ 52214571Sdim COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } 53214571Sdim 54214571Sdim#include "coff-x86_64.c" 55