Back to index

cell-binutils  2.17cvs20070401
pep-dll.c
Go to the documentation of this file.
00001 /* Routines to help build PEPI-format DLLs (Win64 etc)
00002    Copyright 2006 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, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
00019    
00020    Written by Kai Tietz, OneVision Software GmbH&CoKg.  */
00021 
00022 #define COFF_IMAGE_WITH_PE
00023 #define COFF_WITH_PE
00024 #define COFF_WITH_pex64
00025 
00026 /* Local defined globals.  */
00027 #define pe_def_file              pep_def_file
00028 #define pe_details               pep_details
00029 #define pe_dll_compat_implib        pep_dll_compat_implib
00030 #define pe_dll_extra_pe_debug       pep_dll_extra_pe_debug
00031 #define pe_dll_export_everything    pep_dll_export_everything
00032 #define pe_dll_do_default_excludes  pep_dll_do_default_excludes
00033 #define pe_dll_kill_ats             pep_dll_kill_ats
00034 #define pe_dll_stdcall_aliases      pep_dll_stdcall_aliases
00035 #define pe_dll_warn_dup_exports     pep_dll_warn_dup_exports
00036 
00037 /* External globals.  */
00038 #define pe_data_import_dll          pep_data_import_dll
00039 
00040 /* Unique global name for functions to avoid double defined symbols.  */
00041 #define pe_create_import_fixup      pep_create_import_fixup
00042 #define pe_dll_generate_def_file    pep_dll_generate_def_file
00043 #define pe_process_import_defs      pep_process_import_defs
00044 #define pe_dll_id_target            pep_dll_id_target
00045 #define pe_implied_import_dll       pep_implied_import_dll
00046 #define pe_dll_build_sections       pep_dll_build_sections
00047 #define pe_exe_build_sections       pep_exe_build_sections
00048 #define pe_dll_fill_sections        pep_dll_fill_sections
00049 #define pe_exe_fill_sections        pep_exe_fill_sections
00050 #define pe_dll_generate_implib      pep_dll_generate_implib
00051 #define pe_dll_add_excludes         pep_dll_add_excludes
00052 #define pe_walk_relocs_of_symbol    pep_walk_relocs_of_symbol
00053 #define pe_bfd_is_dll                  pep_bfd_is_dll
00054 
00055 /* Uses x86_64 PE+.  */
00056 #define pe_use_x86_64
00057 
00058 #include "pe-dll.c"