Back to index

cell-binutils  2.17cvs20070401
pei-ppc.c
Go to the documentation of this file.
00001 /* BFD back-end for PowerPC PE IMAGE COFF files.
00002    Copyright 1995, 1996, 1999 Free Software Foundation, Inc.
00003 
00004 This file is part of BFD, the Binary File Descriptor library.
00005 
00006 This program is free software; you can redistribute it and/or modify
00007 it under the terms of the GNU General Public License as published by
00008 the Free Software Foundation; either version 2 of the License, or
00009 (at your option) any later version.
00010 
00011 This program is distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 GNU General Public License for more details.
00015 
00016 You should have received a copy of the GNU General Public License
00017 along with this program; if not, write to the Free Software
00018 Foundation, 51 Franklin Street - Fifth Floor,
00019 Boston, MA 02110-1301, USA.  */
00020 
00021 #include "bfd.h"
00022 #include "sysdep.h"
00023 
00024 /* setting up for a PE environment stolen directly from the i386 structure */
00025 #define E_FILNMLEN   18     /* # characters in a file name            */
00026 
00027 #define PPC_PE
00028 
00029 #define TARGET_LITTLE_SYM   bfd_powerpcle_pei_vec
00030 #define TARGET_LITTLE_NAME "pei-powerpcle"
00031 
00032 #define TARGET_BIG_SYM      bfd_powerpc_pei_vec
00033 #define TARGET_BIG_NAME    "pei-powerpc"
00034 
00035 #define COFF_IMAGE_WITH_PE
00036 #define COFF_WITH_PE
00037 
00038 #define COFF_LONG_SECTION_NAMES
00039 
00040 /* FIXME: Verify PCRELOFFSET is always false */
00041 
00042 /* FIXME: This target no longer works.  Search for POWERPC_LE_PE in
00043    coff-ppc.c and peigen.c.  */
00044 
00045 #include "coff-ppc.c"