1214571Sdim/* Routines to help build PEPI-format DLLs (Win64 etc) 2214571Sdim Copyright 2006 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#define COFF_IMAGE_WITH_PE 23214571Sdim#define COFF_WITH_PE 24214571Sdim#define COFF_WITH_pex64 25214571Sdim 26214571Sdim/* Local defined globals. */ 27214571Sdim#define pe_def_file pep_def_file 28214571Sdim#define pe_details pep_details 29214571Sdim#define pe_dll_compat_implib pep_dll_compat_implib 30214571Sdim#define pe_dll_extra_pe_debug pep_dll_extra_pe_debug 31214571Sdim#define pe_dll_export_everything pep_dll_export_everything 32214571Sdim#define pe_dll_do_default_excludes pep_dll_do_default_excludes 33214571Sdim#define pe_dll_kill_ats pep_dll_kill_ats 34214571Sdim#define pe_dll_stdcall_aliases pep_dll_stdcall_aliases 35214571Sdim#define pe_dll_warn_dup_exports pep_dll_warn_dup_exports 36214571Sdim 37214571Sdim/* External globals. */ 38214571Sdim#define pe_data_import_dll pep_data_import_dll 39214571Sdim 40214571Sdim/* Unique global name for functions to avoid double defined symbols. */ 41214571Sdim#define pe_create_import_fixup pep_create_import_fixup 42214571Sdim#define pe_dll_generate_def_file pep_dll_generate_def_file 43214571Sdim#define pe_process_import_defs pep_process_import_defs 44214571Sdim#define pe_dll_id_target pep_dll_id_target 45214571Sdim#define pe_implied_import_dll pep_implied_import_dll 46214571Sdim#define pe_dll_build_sections pep_dll_build_sections 47214571Sdim#define pe_exe_build_sections pep_exe_build_sections 48214571Sdim#define pe_dll_fill_sections pep_dll_fill_sections 49214571Sdim#define pe_exe_fill_sections pep_exe_fill_sections 50214571Sdim#define pe_dll_generate_implib pep_dll_generate_implib 51214571Sdim#define pe_dll_add_excludes pep_dll_add_excludes 52214571Sdim#define pe_walk_relocs_of_symbol pep_walk_relocs_of_symbol 53214571Sdim#define pe_bfd_is_dll pep_bfd_is_dll 54214571Sdim 55214571Sdim/* Uses x86_64 PE+. */ 56214571Sdim#define pe_use_x86_64 57214571Sdim 58214571Sdim#include "pe-dll.c" 59