1 | /* pe-dll.h: Header file for routines used to build Windows DLLs.
|
---|
2 | Copyright 1999, 2000 Free Software Foundation, Inc.
|
---|
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
|
---|
18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
---|
19 | 02111-1307, USA. */
|
---|
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;
|
---|
34 | extern int pe_dll_warn_dup_exports;
|
---|
35 | extern int pe_dll_compat_implib;
|
---|
36 |
|
---|
37 | extern void pe_dll_id_target PARAMS ((const char *));
|
---|
38 | extern void pe_dll_add_excludes PARAMS ((const char *));
|
---|
39 | extern void pe_dll_generate_def_file PARAMS ((const char *));
|
---|
40 | extern void pe_dll_generate_implib PARAMS ((def_file *, const char *));
|
---|
41 | extern void pe_process_import_defs PARAMS ((bfd *, struct bfd_link_info *));
|
---|
42 | extern boolean pe_implied_import_dll PARAMS ((const char *));
|
---|
43 | extern void pe_dll_build_sections PARAMS ((bfd *, struct bfd_link_info *));
|
---|
44 | extern void pe_exe_build_sections PARAMS ((bfd *, struct bfd_link_info *));
|
---|
45 | extern void pe_dll_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
|
---|
46 | extern void pe_exe_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
|
---|
47 |
|
---|
48 | #endif /* PE_DLL_H */
|
---|