Add x86_64-mingw64 target
[binutils.git] / ld / pep-dll.c
blob27860b7d273b639acd72004ed10f7d966c391b80
1 /* Routines to help build PEPI-format DLLs (Win64 etc)
2 Copyright 2006 Free Software Foundation, Inc.
4 This file is part of BFD, the Binary File Descriptor library.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
20 Written by Kai Tietz, OneVision Software GmbH&CoKg. */
22 #define COFF_IMAGE_WITH_PE
23 #define COFF_WITH_PE
24 #define COFF_WITH_pex64
26 /* Local defined globals. */
27 #define pe_def_file pep_def_file
28 #define pe_details pep_details
29 #define pe_dll_compat_implib pep_dll_compat_implib
30 #define pe_dll_extra_pe_debug pep_dll_extra_pe_debug
31 #define pe_dll_export_everything pep_dll_export_everything
32 #define pe_dll_do_default_excludes pep_dll_do_default_excludes
33 #define pe_dll_kill_ats pep_dll_kill_ats
34 #define pe_dll_stdcall_aliases pep_dll_stdcall_aliases
35 #define pe_dll_warn_dup_exports pep_dll_warn_dup_exports
37 /* External globals. */
38 #define pe_data_import_dll pep_data_import_dll
40 /* Unique global name for functions to avoid double defined symbols. */
41 #define pe_create_import_fixup pep_create_import_fixup
42 #define pe_dll_generate_def_file pep_dll_generate_def_file
43 #define pe_process_import_defs pep_process_import_defs
44 #define pe_dll_id_target pep_dll_id_target
45 #define pe_implied_import_dll pep_implied_import_dll
46 #define pe_dll_build_sections pep_dll_build_sections
47 #define pe_exe_build_sections pep_exe_build_sections
48 #define pe_dll_fill_sections pep_dll_fill_sections
49 #define pe_exe_fill_sections pep_exe_fill_sections
50 #define pe_dll_generate_implib pep_dll_generate_implib
51 #define pe_dll_add_excludes pep_dll_add_excludes
52 #define pe_walk_relocs_of_symbol pep_walk_relocs_of_symbol
54 /* Uses x86_64 PE+. */
55 #define pe_use_x86_64
57 #include "pe-dll.c"