Commit | Line | Data |
---|---|---|
99ad8390 | 1 | /* Routines to help build PEPI-format DLLs (Win64 etc) |
b90efa5b | 2 | Copyright (C) 2006-2015 Free Software Foundation, Inc. |
f96b4a7b | 3 | Written by Kai Tietz, OneVision Software GmbH&CoKg. |
99ad8390 | 4 | |
f96b4a7b | 5 | This file is part of the GNU Binutils. |
99ad8390 NC |
6 | |
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
f96b4a7b | 9 | the Free Software Foundation; either version 3 of the License, or |
99ad8390 NC |
10 | (at your option) any later version. |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
f96b4a7b NC |
19 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
20 | MA 02110-1301, USA. */ | |
99ad8390 NC |
21 | |
22 | #define COFF_IMAGE_WITH_PE | |
23 | #define COFF_WITH_PE | |
24 | #define COFF_WITH_pex64 | |
25 | ||
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 | |
2927aaca | 32 | #define pe_dll_exclude_all_symbols pep_dll_exclude_all_symbols |
99ad8390 NC |
33 | #define pe_dll_do_default_excludes pep_dll_do_default_excludes |
34 | #define pe_dll_kill_ats pep_dll_kill_ats | |
35 | #define pe_dll_stdcall_aliases pep_dll_stdcall_aliases | |
36 | #define pe_dll_warn_dup_exports pep_dll_warn_dup_exports | |
ce11ba6c | 37 | #define pe_use_nul_prefixed_import_tables \ |
88183869 DK |
38 | pep_use_nul_prefixed_import_tables |
39 | #define pe_use_coff_long_section_names \ | |
40 | pep_use_coff_long_section_names | |
522f09cd | 41 | #define pe_leading_underscore pep_leading_underscore |
99ad8390 NC |
42 | |
43 | /* External globals. */ | |
44 | #define pe_data_import_dll pep_data_import_dll | |
45 | ||
46 | /* Unique global name for functions to avoid double defined symbols. */ | |
47 | #define pe_create_import_fixup pep_create_import_fixup | |
48 | #define pe_dll_generate_def_file pep_dll_generate_def_file | |
49 | #define pe_process_import_defs pep_process_import_defs | |
50 | #define pe_dll_id_target pep_dll_id_target | |
51 | #define pe_implied_import_dll pep_implied_import_dll | |
52 | #define pe_dll_build_sections pep_dll_build_sections | |
53 | #define pe_exe_build_sections pep_exe_build_sections | |
54 | #define pe_dll_fill_sections pep_dll_fill_sections | |
55 | #define pe_exe_fill_sections pep_exe_fill_sections | |
56 | #define pe_dll_generate_implib pep_dll_generate_implib | |
57 | #define pe_dll_add_excludes pep_dll_add_excludes | |
58 | #define pe_walk_relocs_of_symbol pep_walk_relocs_of_symbol | |
799133e8 | 59 | #define pe_bfd_is_dll pep_bfd_is_dll |
88183869 DK |
60 | #define pe_output_file_set_long_section_names \ |
61 | pep_output_file_set_long_section_names | |
99ad8390 NC |
62 | |
63 | /* Uses x86_64 PE+. */ | |
64 | #define pe_use_x86_64 | |
65 | ||
66 | #include "pe-dll.c" |