pe-ppc.c revision 218822
176861Skris/* BFD back-end for PowerPC PECOFF files.
276861Skris   Copyright 1995, 1996, 1999, 2001, 2007 Free Software Foundation, Inc.
376861Skris
476861SkrisThis file is part of BFD, the Binary File Descriptor library.
576861Skris
676861SkrisThis program is free software; you can redistribute it and/or modify
776861Skrisit under the terms of the GNU General Public License as published by
876861Skristhe Free Software Foundation; either version 2 of the License, or
9233052Sdim(at your option) any later version.
1096316Sobrien
11240468SbrooksThis program is distributed in the hope that it will be useful,
12240468Sbrooksbut WITHOUT ANY WARRANTY; without even the implied warranty of
13189801SrdivackyMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14233052SdimGNU General Public License for more details.
15189801Srdivacky
16220863SdimYou should have received a copy of the GNU General Public License
17233052Sdimalong with this program; if not, write to the Free Software
18220863SdimFoundation, 51 Franklin Street - Fifth Floor,
19233052SdimBoston, MA 02110-1301, USA.  */
20220863Sdim
21233052Sdim#include "sysdep.h"
22220863Sdim#include "bfd.h"
23233052Sdim
24233052Sdim#define E_FILENMLEN     18
25233052Sdim
26233052Sdim#define PPC_PE
27220863Sdim
28161214Sdes#define TARGET_LITTLE_SYM   bfd_powerpcle_pe_vec
29233052Sdim#define TARGET_LITTLE_NAME "pe-powerpcle"
30233052Sdim
31233052Sdim#define TARGET_BIG_SYM      bfd_powerpc_pe_vec
32233052Sdim#define TARGET_BIG_NAME    "pe-powerpc"
33240468Sbrooks
34240468Sbrooks#define COFF_WITH_PE
35233052Sdim
36233052Sdim#define COFF_LONG_SECTION_NAMES
37233052Sdim
38233052Sdim/* FIXME: verify PCRELOFFSET is always false */
39233052Sdim
40233052Sdim/* FIXME: This target no longer works.  Search for POWERPC_LE_PE in
41233052Sdim   coff-ppc.c and peigen.c.  */
42233052Sdim
43233052Sdim#include "coff-ppc.c"
44233052Sdim