160484Sobrien/* BFD back-end for PowerPC PECOFF files. 2218822Sdim Copyright 1995, 1996, 1999, 2001, 2007 Free Software Foundation, Inc. 360484Sobrien 460484SobrienThis file is part of BFD, the Binary File Descriptor library. 560484Sobrien 660484SobrienThis program is free software; you can redistribute it and/or modify 760484Sobrienit under the terms of the GNU General Public License as published by 860484Sobrienthe Free Software Foundation; either version 2 of the License, or 960484Sobrien(at your option) any later version. 1060484Sobrien 1160484SobrienThis program is distributed in the hope that it will be useful, 1260484Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1360484SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1460484SobrienGNU General Public License for more details. 1560484Sobrien 1660484SobrienYou should have received a copy of the GNU General Public License 1760484Sobrienalong with this program; if not, write to the Free Software 18218822SdimFoundation, 51 Franklin Street - Fifth Floor, 19218822SdimBoston, MA 02110-1301, USA. */ 2060484Sobrien 21218822Sdim#include "sysdep.h" 2260484Sobrien#include "bfd.h" 2360484Sobrien 2460484Sobrien#define E_FILENMLEN 18 2560484Sobrien 2660484Sobrien#define PPC_PE 2760484Sobrien 2860484Sobrien#define TARGET_LITTLE_SYM bfd_powerpcle_pe_vec 2960484Sobrien#define TARGET_LITTLE_NAME "pe-powerpcle" 3060484Sobrien 3160484Sobrien#define TARGET_BIG_SYM bfd_powerpc_pe_vec 3260484Sobrien#define TARGET_BIG_NAME "pe-powerpc" 3360484Sobrien 3460484Sobrien#define COFF_WITH_PE 3560484Sobrien 3660484Sobrien#define COFF_LONG_SECTION_NAMES 3760484Sobrien 3860484Sobrien/* FIXME: verify PCRELOFFSET is always false */ 3960484Sobrien 4060484Sobrien/* FIXME: This target no longer works. Search for POWERPC_LE_PE in 4160484Sobrien coff-ppc.c and peigen.c. */ 4260484Sobrien 4360484Sobrien#include "coff-ppc.c" 44