2009-01-08 Kai Tietz <kai.tietz@onevision.com>
[deliverable/binutils-gdb.git] / ld / pe-dll.h
1 /* pe-dll.h: Header file for routines used to build Windows DLLs.
2 Copyright 1999, 2000, 2001, 2002, 2003, 2007
3 Free Software Foundation, Inc.
4
5 This file is part of the GNU Binutils.
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
9 the Free Software Foundation; either version 3 of the License, or
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
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
21
22 #ifndef PE_DLL_H
23 #define PE_DLL_H
24
25 #include "sysdep.h"
26 #include "bfd.h"
27 #include "bfdlink.h"
28 #include "deffile.h"
29
30 extern def_file *pe_def_file;
31 extern int pe_dll_export_everything;
32 extern int pe_dll_do_default_excludes;
33 extern int pe_dll_kill_ats;
34 extern int pe_dll_stdcall_aliases;
35 extern int pe_dll_warn_dup_exports;
36 extern int pe_dll_compat_implib;
37 extern int pe_dll_extra_pe_debug;
38 extern int pe_use_nul_prefixed_import_tables;
39
40 typedef enum { EXCLUDESYMS, EXCLUDELIBS, EXCLUDEFORIMPLIB } exclude_type;
41
42 extern void pe_dll_id_target
43 (const char *);
44 extern void pe_dll_add_excludes
45 (const char *, const exclude_type);
46 extern void pe_dll_generate_def_file
47 (const char *);
48 extern void pe_dll_generate_implib
49 (def_file *, const char *, struct bfd_link_info *);
50 extern void pe_process_import_defs
51 (bfd *, struct bfd_link_info *);
52 extern bfd_boolean pe_implied_import_dll
53 (const char *);
54 extern void pe_dll_build_sections
55 (bfd *, struct bfd_link_info *);
56 extern void pe_exe_build_sections
57 (bfd *, struct bfd_link_info *);
58 extern void pe_dll_fill_sections
59 (bfd *, struct bfd_link_info *);
60 extern void pe_exe_fill_sections
61 (bfd *, struct bfd_link_info *);
62 extern void pe_walk_relocs_of_symbol
63 (struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
64 extern void pe_create_import_fixup
65 (arelent * rel, asection *, bfd_vma);
66 extern bfd_boolean pe_bfd_is_dll
67 (bfd *);
68
69 #endif /* PE_DLL_H */
This page took 0.031151 seconds and 5 git commands to generate.