Commit | Line | Data |
---|---|---|
1069dd8d | 1 | /* pe-dll.h: Header file for routines used to build Windows DLLs. |
aef6203b | 2 | Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
1069dd8d ILT |
3 | |
4 | This file is part of GLD, the Gnu Linker. | |
5 | ||
6 | GLD 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, or (at your option) | |
9 | any later version. | |
10 | ||
11 | GLD 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. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GLD; see the file COPYING. If not, write to the Free | |
75be928b NC |
18 | Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
19 | 02110-1301, USA. */ | |
1069dd8d ILT |
20 | |
21 | #ifndef PE_DLL_H | |
22 | #define PE_DLL_H | |
23 | ||
24 | #include "bfd.h" | |
25 | #include "sysdep.h" | |
26 | #include "bfdlink.h" | |
27 | #include "deffile.h" | |
28 | ||
29 | extern def_file *pe_def_file; | |
30 | extern int pe_dll_export_everything; | |
31 | extern int pe_dll_do_default_excludes; | |
32 | extern int pe_dll_kill_ats; | |
33 | extern int pe_dll_stdcall_aliases; | |
870df5dc NC |
34 | extern int pe_dll_warn_dup_exports; |
35 | extern int pe_dll_compat_implib; | |
b044cda1 | 36 | extern int pe_dll_extra_pe_debug; |
1069dd8d | 37 | |
b34976b6 | 38 | extern void pe_dll_id_target |
1579bae1 | 39 | (const char *); |
b34976b6 | 40 | extern void pe_dll_add_excludes |
1579bae1 | 41 | (const char *, const int); |
b34976b6 | 42 | extern void pe_dll_generate_def_file |
1579bae1 | 43 | (const char *); |
b34976b6 | 44 | extern void pe_dll_generate_implib |
1579bae1 | 45 | (def_file *, const char *); |
b34976b6 | 46 | extern void pe_process_import_defs |
1579bae1 | 47 | (bfd *, struct bfd_link_info *); |
b34976b6 | 48 | extern bfd_boolean pe_implied_import_dll |
1579bae1 | 49 | (const char *); |
b34976b6 | 50 | extern void pe_dll_build_sections |
1579bae1 | 51 | (bfd *, struct bfd_link_info *); |
b34976b6 | 52 | extern void pe_exe_build_sections |
1579bae1 | 53 | (bfd *, struct bfd_link_info *); |
b34976b6 | 54 | extern void pe_dll_fill_sections |
1579bae1 | 55 | (bfd *, struct bfd_link_info *); |
b34976b6 | 56 | extern void pe_exe_fill_sections |
1579bae1 | 57 | (bfd *, struct bfd_link_info *); |
b34976b6 | 58 | extern void pe_walk_relocs_of_symbol |
1579bae1 | 59 | (struct bfd_link_info *, const char *, int (*) (arelent *, asection *)); |
b34976b6 | 60 | extern void pe_create_import_fixup |
1579bae1 | 61 | (arelent * rel, asection *, int); |
1069dd8d | 62 | #endif /* PE_DLL_H */ |